C# 6.0 Features Part II : Primary Constructors

added by Robert Greyling
8/18/2014 9:56:39 AM

4 Kicks, 135 Views

Primary constructors are a feature you’ll find in a few programming languages, including F#, Scala, and Kotlin. A primary constructor allows us to define a constructor for a type and capture the constructor parameters to use in initialization expressions throughout the rest of the type definition.


0 comments