C# – OOPS
C# OOPS Interview Questions
Feb 24th
Collected from the Internet: Class Questions 1.What is the syntax to inherit from a class in C#? Ans.Place a colon and then the name of the base class. Example: class MyNewClass : MyBaseClass 2. Can you prevent your class from being inherited by another class? Ans.Yes. The keyword "sealed" will prevent the class from being [...]