Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created April 16, 2019 05:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wullemsb/9c56c61e20c198597b9a64beae3e4afa to your computer and use it in GitHub Desktop.
Save wullemsb/9c56c61e20c198597b9a64beae3e4afa to your computer and use it in GitHub Desktop.
public readonly struct Point
{
public readonly double X;
public readonly double Y;
public Point(double x, double y) => (X, Y) = (x, y);
public override string ToString() => $"({X}, {Y})";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment