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



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

Answer / Jamal Ahmad

To override a base class method in Visual Studio .NET (both 2003 and later versions) or Visual Studio 2005, follow these steps:
1. Inherit your custom class from the base class.
2. Declare an override keyword before the method you want to override.
3. Implement the overridden method in your custom class with the same signature as the base class method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Studio IDE Interview Questions

Is there an online version of visual studio?

1 Answers  


What are the best programming fonts?

1 Answers  


How do I run an exe file in visual studio?

1 Answers  


How do I change the syntax highlighting code in visual studio?

1 Answers  


Can I uninstall visual studio?

1 Answers  


Is visual studio 2019 still in preview?

0 Answers  


How can I see the call hierarchy code in visual studio?

1 Answers  


How to Preview images in Solution Explorer?

1 Answers  


How do I create a console application in visual studio?

1 Answers  


How do I customize visual studio?

1 Answers  


What is Solution Explorer ?

1 Answers  


Can visual studio compile c?

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)