static void Main(string[] args) { dynamic obj = new SampleObject(); Console.WriteLine(obj.SomeProperty); Console.Write("Press a key to exit"); Console.ReadKey(); }
static void Main(string[] args) { dynamic obj = new SampleObject(); Console.WriteLine(obj.SomeProperty); Console.Write("Press a key to exit"); Console.ReadKey(); }
static void Main(string[] args) { dynamic obj = new SampleObject(); Console.WriteLine(obj.SomeProperty); dynamic obj2 = new ExpandoObject(); obj2.Test = "dit is een test property"; Console.WriteLine(obj2.Test); Console.Write("Press a key to exit"); Console.ReadKey(); }
static void Main(string[] args) { dynamic obj = new SampleObject(); Console.WriteLine(obj.SomeProperty); dynamic obj2 = new ExpandoObject(); obj2.Test = "dit is een test property"; Console.WriteLine(obj2.Test); Console.Write("Press a key to exit"); Console.ReadKey(); }