Post Top Ad

Asp.Net Core Mvc

Blazor

Post Top Ad


Object Initializer

C# 3.0 (.NET 3.5) introduced Object Initializer Syntax, a new way to initialize an object of a class or collection. Object initializers allow you to assign values to the fields or properties at the time of creating an object without invoking a constructor.

No comments:

Post a Comment

Post Top Ad