error 0x80010135 code example

Example 1: c# error CS0200

/*		Sedan.cs(41,5): error CS0200: Property or indexer
		'Sedan.Speed' cannot be assigned to -- it is read only 		*/

public void SpeedUp()
    {
    Speed += 5;
    }					//Trying to change/set value

public double Speed
    { get; }			//Property  speed doesn't have setter
    
public double Speed
    { get; set; }		//Fixes error

Example 2: c# error CS0176

error CS0176: Member 'Forest.TreeFacts' cannot be accessed with 
	an instance reference; qualify it with a type name instead
    
/*	This usually means that you tried to reference a static 
	member from an instance, instead of from the class				*/
    
    
    Forest f = new Forest("Congo", "Tropical");

    Console.WriteLine(f.TreeFacts); //Causes Error
    Console.WriteLine(Forest.TreeFacts); //Fixxes Error

Example 3: 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