adspace


How to override a base class method in Visual Studio .NET and in Visual Studio 2005?

Answer Posted / Rakesh Kumar Maurya

In Visual Studio .NET, you can override a base class method using inheritance and the 'override' keyword. Create a new class that inherits from the base class, and mark the method you want to override with the 'override' keyword. In Visual Studio 2005, follow the same approach but remember to use the 'C# 2.0' or later compiler.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is visual studio 2019 still in preview?

975