Hello! This question is about optimality.
Which way of the two, when programmatically creating a control in WinForms, is it better to set the coordinates?
1) element.Location = new Point(x, y);
2) element.Location.X = x; element.Location.Y = y;
element.Location.X = x; element.Location.Y = y;
Is it advisable to initialize an instance of Point
(although it takes up less space and looks prettier)?