I've a question that may seem dumb a little. I'm going to read and handle lots of 2D point coordinates in my program. Should I use the default Point
struct in System.Windows.Point
or should I use my own struct like this?
public struct_2DPoint
{
public double X { get; set; }
public double Y { get; set; }
}
Will I save memory using the second method?
Use the System.Windows.Point.
Reason for my recommendation: