Follow

C# is a convenient language with nice syntax sugar. One example is object initialization by specifying object members. This is useful if you want to pass a newly created object to a function without creating a temporary variable. Just use the 'new' keyword and specify that member parameters in curly braces.

ยท ยท 0 ยท 0 ยท 0