As I know, Point exist in the System.Drawing namespace , but Visual Studio cannot find it.
using System.Drawing; class Flower { public Point Location { get; private set; } }
Error: Cannot find type name or dot namespace
Edit 1: .Net 4.5.1
Right-click in Solution Explorer in the Project entry Referencesand selectAdd Reference...
References
Add Reference...
Make sure that you look in the section "Assembly assemblies →", then find and check the box for System.Drawing, then click "OK".
System.Drawing
Here you can use System.Drawing.Pointin your code.
System.Drawing.Point
, System.Drawing . , , , , , Windows Forms, System.Drawing . , Console App, Class Library WPF, , .