Created
December 23, 2020 14:26
-
-
Save crgrieve/3ae3142e06c0361edf8795ce4d5fe53d to your computer and use it in GitHub Desktop.
C# 9 init properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public record Meetup | |
{ | |
public string City { get; init; } | |
public string Topic { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment