How many places new keyword is used in C#?
Anil Jha
3 places i) As an operator - new keyword is used to create an instance of a class. ii) As an modifier - new keyword is used to hide methods of parent class. iii) As an constraint - new keyword is used to specify that type argument in a generic class must have public parameterless constructor. The type cannot be abstract.