System.Object - C#.NET

Name the class from where everything is derived in .NET.

- System.Object is the class from which everything is derived.

- The object class is the ultimate base class of all classes in the .NET Framework.

- It is the root of the type hierarchy.

- It is often used as a generic argument in class methods - all classes are treatable as Object classes.

- This class is defined in the System namespace in implicitly the ultimate base class of all the classes in .NET.

- It is a parent class for all .NET class.

- It provides low-level services to derived classes.

- It is the ultimate base class of all classes in the .NET framework.
Significance of the keyword virtual - C#.NET
C#.NET - What is the significance of the keyword virtual in the method definition? - The method with virtual keyword signifies that it can be over-ridden...
Allow class to be inherited and prevent method from being over-ridden - C#.NET
C#.NET - How can you allow class to be inherited and prevent the method from being over-ridden? - Declare the class as public and make the methods sealed...
What is an interface class? - C#.NET
C#.NET - What is an interface class? - An interface class is an abstract class with public abstract methods...
Post your comment