Sunday, June 13, 2010

C#'s dynamic leaving Java in the dust

dynamic d = new ExpandoObject();
d.LoremIpsum = Console.ReadLine();
Console.WriteLine("Hello {0}", d.LoremIpsum);
Console.ReadLine();

No comments:

Post a Comment