Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 25, 2021 11:08
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 lgolubyev/deddbbed2728207001bd044b70155c85 to your computer and use it in GitHub Desktop.
Save lgolubyev/deddbbed2728207001bd044b70155c85 to your computer and use it in GitHub Desktop.
Point point1 = new() { X = 1, Y = 2};
Console.WriteLine(point1.ToString());
public record Point
{
public int X { get; init;}
public int Y { get; init;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment