error 0x80010135 code example
Example 1: c# error CS0200
public void SpeedUp()
{
Speed += 5;
}
public double Speed
{ get; }
public double Speed
{ get; set; }
Example 2: c# error CS0176
error CS0176: Member 'Forest.TreeFacts' cannot be accessed with
an instance reference; qualify it with a type name instead
Forest f = new Forest("Congo", "Tropical");
Console.WriteLine(f.TreeFacts);
Console.WriteLine(Forest.TreeFacts);
Example 3: c# error CS0120
error CS0120: An object reference is required to access
non-static field, method, or property 'Forest.Grow()'
Forest f = new Forest("Congo", "Tropical");
Forest.Grow();
f.Grow();