using System;
public class Program
{
public static void Main(string[] args)
Point p =new Point();
p.X=12;
p.Y=10;
Console.WriteLine("x from Property:" +p.X);
Console.WriteLine("y from propert:" +p.Y);
p.show();
}
class Point
private int x,y;
public int X{
get{return x;}
set{x=value;}
public int Y
get{return y;}
public void show(){
Console.WriteLine("x is :" +X);
Console.WriteLine("y is"+Y);