Created
July 20, 2015 19:06
-
-
Save richlander/29c5086e3e64000f7c56 to your computer and use it in GitHub Desktop.
C# 6 Read-only Auto-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 class Customer | |
{ | |
public string First { get; } = "Jane"; | |
public string Last { get; } = "Doe"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment