private int number; public int Number { get { return number++; // Don't do this } }