using System;
public class Point<Type>
{
private Type x;
public Type X
set{x=value;}
get{return x;}
}
private Type y;
public Type Y
set{y=value;}
get{return y;}
public Point(Type x, Type y)
this.x=x;
this.y=y;
public override string ToString()
//return(this.x+" "+this.y);
return string.Format("x={0}, y={1}", x,y);
public class Program
public static void Main()
Console.WriteLine("Hello World");