An object reference is required for the nonstatic field, method, or property
问题 I know people have asked about this question before but the scenario's were too specific and I am confused about the fundamentals. I have two basic versions of a C# program, one that works, and one that doesn't. I would love it if someone could please explain why I get the error An object reference is required for the nonstatic field, method, or property in the second program. Works: namespace Experiments { class Test { public string myTest = "Gobbledigook"; public void Print() { Console