static MyClassA() { PropertyA=new MyClassB(); PropertyA.Foo = new List<string> { "a", "b", "c", "d","e"}; PropertyA.Bar = new List<int> {1, 2, 3, 4, 5}; PropertyA.ValueTypeA = 200; }
static MyClassC() { PropertyA = new MyClassB(); PropertyA.Foo = new List<string> { "a1", "b2", "c3", "d4", "e5" }; PropertyA.Bar = new List<int> { 10, 20, 30, 40, 50 }; }