namespace myPropertyApplication
public void SetID(int ID)
private string m_name = string.Empty;
public void SetName(string Name)
public static void Main()
Customer Customer = new Customer();
Console.WriteLine("Enter your ID");
Customer.SetID(Convert.ToInt32(Console.ReadLine()));
Console.WriteLine("Enter your Name");
Customer.SetName(Convert.ToString(Console.ReadLine()));
Console.WriteLine("Your Output:\nID:{0}\nName:{1}",Customer.GetID(),Customer.GetName());