In C#, unlike VB.NET and Java, you can’t access static
members with instance syntax. You should do:
MyClass.MyItem.Property1
to refer to that property or remove the static
modifier from Property1
(which is what you probably want to do). For a conceptual idea about what static
is, see my other answer.