What is the use of new keyword in csharp ?
new keyword used for creating an object of a class.
new keyword is used for hiding base class members in derived class without producing compilation warning.
Options 1 & 2 are correct.
new keyword used for accessing base class members from derived classes.
No explanation available .
Back To Top