new Operator
An operator that creates an object or array and returns its reference.
What does new Operator do in C#?
new Operator — An operator that creates an object or array and returns its reference.
class Book
{
string title;
Book(string title)
{
this.title = title;
}
}
Level: Journeyman · More C# terms at this level
Updated