public class Point {
public int X { get; set; }
public int Y { get; set; }
}

public class Rectangle {
public Point TL { get; set; }
public Point BR { get; set; }
}

// Mon kd v metod
Rectangle r = new Rectangle {
TL = new Point { X = 0, Y = 1 },
BR = new Point { X = 2, Y = 3 }
};
