.NET Coding Best Practices -part 7
Published in
Jun 11, 2022
Auto property initializer is one of the new feature in C# 6 which Microsoft introduced, below are some of the examples of it.
As we know, it was not possible to initialize properly just at the time of declaration, we would need to initialize either in constructor or while initialize an object.
Even we can see read only property also can be directly initialize at the time of declaring it.