new Point(int x, int y) : Point « System.Drawing « C# / C Sharp by API






new Point(int x, int y)

  

using System;
using System.Drawing;

class MainClass
{
  public static int Main(string[] args)
  {
    
    Point pt = new Point(100, 72);
    Console.WriteLine(pt);
    pt.Offset(20, 20);
    Console.WriteLine(pt);
  
    return 0;
  }
}

   
    
  








Related examples in the same category

1.Point.X
2.Point.Y
3.Point == Point