Wednesday, October 17, 2007 - Posts

Anonymous Types & Read-Only Properties

I hadn't noticed this before; static void Main(string[] args) { var v = new { Prop1 = "A", Prop2 = "B" }; v.Prop1 = "Foo"; }   Here's the error; Read More

Filed Under: ,