Interview Questions

What is the syntax to inherit from a class in C#?

C# Interview Questions and Answers


(Continued from previous question...)

166. What is the syntax to inherit from a class in C#?

Place a colon and then the name of the base class.
Example: class MyNewClass : MyBaseClass

(Continued on next question...)

Other Interview Questions