an object reference is required nonstatic
An object reference is required for the nonstatic field, method, or property 'member'. In order to use a non-static field, method, or property, you must first create an object instance. For more information about static methods, see Static Classes and Static Class Members (C# Programming Guide) . For more information about creating instances of classes, see Instance Constructors (C# Programming Guide) .