Property accessor already defined
Declaring a property requires you to declare the property’s accessor methods. However, a property cannot have duplicate code for the same accessor method.
The following sample generates CS1007:
namespace x { abstract public class clx { int i { get { return 0; } get { // CS1007, duplicate get method return 0; } } public static int Main() { return 0; } } }