Point
Namespace: MyClassLib
A record struct representing a 2D point.
public readonly record struct Point
Inheritance Object → ValueType → Point
Implements IEquatable<Point>
Attributes IsReadOnlyAttribute
Properties
X
The X coordinate.
public int X { get; init; }
Property Value
Y
The Y coordinate.
public int Y { get; init; }
Property Value
Constructors
Point(Int32, Int32)
A record struct representing a 2D point.
public Point(int X, int Y)
Parameters
X Int32
The X coordinate.
Y Int32
The Y coordinate.