Error!
Success!

Object and Collection Initializers Feature in C# 3.0

0
kicks

Object and Collection Initializers Feature in C# 3.0  (Unpublished)

C# 3.0 introduced the another interesting feature Object and Collection initialization expressions. Object Intialization Expressions allows you to initialize an object without invoking the constructor and setting its properties. If you take Employee Class as an Example:


Kicked By:
Drop Kicked By: