protected string Location;
protected void GetUserDetails()
Console.WriteLine("Name: {0}", Name);
Console.WriteLine("Location: {0}", Location);
Console.WriteLine("Salary: {0}", Salary);
static void Main(string[] args)
Program p = new Program();
Console.WriteLine("\nPress Enter Key to Exit..");