This gives me error..how to solve this...
class nameex
{
public object call()
{
dynamic expando = new ExpandoObject();
var p = expando as IDictionary<String, object>;
p["Demo"] = "New val 1"; }
}
}
class de
{
dynamic n = new nameex();
x.call();
n.Demo = "Welcome";
Console.WriteLine(n.Demo);
}
aravind_aravind
0
Newbie Poster
skatamatic
371
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.