dynamic x = new ExpandoObject(); x.NewProp = string.Empty; You may have seen the above but below is the good stuff var x = new ExpandoObject() as IDictionary<string, Object>; x.Add("NewProp", string.Empty); x.Add("Shout", new Action(() => { Console.WriteLine("Hellooo!!!"); })); x.Shout();Read More
Recent Comments