/* static void MyMethodStruct(Point i)
 {
     i.X += 20;
 }*/
 static void Main()
 {
     /* Point p =  new Point();
     Point p2 = p;
     p.X = 10;*/
     int j;
     Availiability a = Availiability.Availiable;
     a ^= Availiability.Availiable;
     //Console.Write((int)a);
     MyMethod(out j, "");
     Point p = new Point(2,3);
     p.DistTo();
     Console.WriteLine("j = {0}", j);
     PointClass pc = new PointClass();
     //pc.X = 100;
     PointClass newpc = new PointClass();
     //MyMethodClass(pc);
     //Console.WriteLine(pc.X);
     //MyMethodStruct(p);
     //Math.Sqrt((x1 - x2)*(x1 - x2)+ (y1 - y2) * (y1 - y2));
     //Console.WriteLine(p.X);
     Console.Read();
 }
 NewClass()
 {
     i = 0;
     point = new PointClass();
 }
 NewClass(PointClass point)
 {
     this.point = point;
 }
 static void MyMethodClass(PointClass i)
 {
     i.X += 20;
 }