Compiler Error CS1014
A get or set accessor expected
A method declaration was found in a property declaration. You can only declare get and set methods in a property.
For more information on properties, see Using Properties (C# Programming Guide).
A method declaration was found in a property declaration. You can only declare get and set methods in a property.
For more information on properties, see Using Properties (C# Programming Guide).