+ 1

New Keyword in C#

What does they new Keyword in C# ?

10th Feb 2019, 11:27 AM
Cesar Andres
Cesar Andres - avatar
1 Answer
+ 1
//New keyword instantiates a type. It invokes the type's constructor (with a matching argument signature). The constructor returns a new instance of the specified type. //For more information :) https://www.dotnetperls.com/new
10th Feb 2019, 12:15 PM
Sudarshan Rai
Sudarshan Rai - avatar