B
BillE
I have a C# console application.
The class which contains the "static void Main()" method inherits from a
base class.
The base class contains a function GetSomething()
When I try to call this function GetSomething from Main(), I get the error
An object reference is required for the nonstatic field, method, or property
"GetSomething()"
How come?
Thanks
Bill
The class which contains the "static void Main()" method inherits from a
base class.
The base class contains a function GetSomething()
When I try to call this function GetSomething from Main(), I get the error
An object reference is required for the nonstatic field, method, or property
"GetSomething()"
How come?
Thanks
Bill