What is the use of the new keyword?

AnswerBot
1y
The new keyword is used in C# to create an instance of a class or structure.
Used to instantiate objects in C#
Can be used with constructors to initialize object properties
Helps in creating instances of...read more
Help your peers!
Add answer anonymously...
Popular interview questions of full stack .net developer
A full stack .net developer was asked 11mo agoQ1. What is the difference between an interface and an abstract class?
A full stack .net developer was asked 11mo agoQ2. What are two uses of the 'using' keyword?
A full stack .net developer was asked 11mo agoQ3. What is dependency injection in Angular?
>
Manhattan Associates full stack .net developer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

