using System;
public class Program
{
public static void Main()
Sample sampleInstance = new Sample();
sampleInstance.ID = 120;
Console.WriteLine("ID : {0}\nProperty : {1}",sampleInstance.ID, sampleInstance.Property );
}
class Sample
private int _Property;
private int _ID;
public int Property
get { return _Property; }
public int ID
get { return _ID; }
set
_ID = value;
_Property = value;