query: C#, Object reference for nonstatic field
positive_passages.docid: 7935
positive_passages.text: CS0120: An object reference is required for the nonstatic field, method, or property 'foo'
negative_passages.docid: 112328
negative_passages.text: Error: "an object reference is required for the non-static field, method or property..."
negative_passages.docid: 130922
negative_passages.text: Deserialized object instance without class definition
negative_passages.docid: 44561
negative_passages.text: How to reference non-static variable name from static context?
negative_passages.docid: 38132
negative_passages.text: Why does WPF support binding to properties of an object, but not fields?
negative_passages.docid: 74590
negative_passages.text: Why do I need "field:" in my attribute declaration "[field:NonSerialized]"?
negative_passages.docid: 108856
negative_passages.text: Passing reference type in C#
negative_passages.docid: 101691
negative_passages.text: Using the field of an object as a generic Dictionary key
negative_passages.docid: 50304
negative_passages.text: Static vs non-static class members
negative_passages.docid: 54000
negative_passages.text: Equivalent functionality of `this` and `ref` in c#
negative_passages.docid: 14911
negative_passages.text: Interfaces with static fields in java for sharing 'constants'
negative_passages.docid: 99209
negative_passages.text: Why are private fields private to the type, not the instance?
negative_passages.docid: 158014
negative_passages.text: What's a "static method" in C#?
negative_passages.docid: 90161
negative_passages.text: What does [param: NotNull] mean in C#?
negative_passages.docid: 104585
negative_passages.text: How to refer to the outer class in another instance of a non-static inner class?
negative_passages.docid: 91943
negative_passages.text: What is the use of "ref" for reference-type variables in C#?
negative_passages.docid: 49796
negative_passages.text: How to access object properties with names like integers?