Is there UI-independent Point struct in .NET?
.net, c#, struct, vb.net
Solution
Reinvent the wheel. It will run smoother! Really, if it's just a tiny struct why depend on big assemblies, pulling in a lot of other stuff? Especially on constraint devices like phones... But pay attention on how to use classes and struct correctly if you want best performance.
This is a pretty good read and I sense that you want to read it dearly: Frank Savage on CLR performance.
Problem
I know several `Point` structs in .NET: `System.Drawing.Point`, `System.Windows.Point`, `Sys.UI.Point`, but all of them are in high-level UI libraries (GDI+, WPF, AJAX). I need a `Point` struct for calculations in my class library which I don't want to tie to any specific UI technology. Is there any UI-independent `Point` struct in .NET? Or I will need to create it myself? That is simple, I know, but sounds like reinventing the wheel.