Read-only auto-properties in csharp 6.0 with example
Read-only auto-properties in csharp 6.0 with example
You might already be aware that Microsoft had launched a version of CSharp called C# 6.0 with Visual Studio Ultimate 2015 Preview and there is a feature in C# 6.0 called “Read-only auto-properties“.
[bctt tweet=”Read-only auto-properties in csharp 6.0 #csharp #microsoft #developers” username=”dotnetcrunchh”]
This feature allows us to create a read-only property with just a get, no set.
Let’s look…
View On WordPress
















