public class Point
{
private
int X, Y;
public
Point(int x, int y) {}
public
Point(){}
}
Point
anotherPoint = new Point(20, 20);
// ...or
make some Point types using the new object init syntax.
var
yetAnotherPoint = new Point { X = 30, Y = 30 };
Point finalPoint = new Point { X =
30, Y = 30 };