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



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

Answer / 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

More Visual Studio IDE Interview Questions

What are the versions of visual studio?

1 Answers  


What is the difference between visual studio community and professional?

1 Answers  


What is peek definition in visual studio?

1 Answers  


How do I open the console in visual studio?

1 Answers  


How to open only one instance of vb application(.exe)?

1 Answers  


What is the use of Ctrl-M + Ctrl-P?

1 Answers  


What language is used in visual studio?

1 Answers  


What is the use of Ctrl-Shift-A ?

1 Answers  


What is the use of Extension Manager?

1 Answers  


What is the best font for terminal?

1 Answers  


What do you use visual studio for?

1 Answers  


Is visual studio 2017 community free?

1 Answers  


Categories
  • Vi Editor Interview Questions Vi Editor (21)
  • Visual Studio IDE Interview Questions Visual Studio IDE (207)
  • Editors AllOther Interview Questions Editors AllOther (1)