main.cs(13,17): error CS0120: An object reference is required to access non-static member `function.MainClass.func()' code example

Example: c# error CS0120

error CS0120: An object reference is required to access
		non-static field, method, or property 'Forest.Grow()'

/*		This usually means you tried to reference a non-static 
		member from a class, instead of from an instance			*/
          

        Forest f = new Forest("Congo", "Tropical");

        Forest.Grow(); //Causes error
		f.Grow(); //Fixes error