Tag: C-SHARP 6.0
-
Property Initializers in C-Sharp 6.0
In the C-Sharp 3.0 a new feature Automatic property got introduced. It allows us to create a class as a bag of the setters and the getters. You can create a class as follows: Each property is backed by a backing filed. When you set value of the property, setter gets executed to set the…