As in:
public class MyClass { private static var MyProp = new {item1 = \"a\", item2 = \"b\"}; }
Note: The above doesn\'t compile nor wo
If this is C# 4, look into the dynamic keyword.
public class MyClass { private static dynamic MyProp = new {item1 = "a", item2 = "b"}; }
However, as soon as you do this you lose any sort of type-safety and handy compiler checks.