How do you inherit from a class in C#?

Place a colon and then the name of the base class. Notice that it is double colon in C++.

Showing Answers 1 - 1 of 1 Answers

swag

  • Dec 24th, 2005
 

let's you have 2classes

Class A is the base class

Class B is the derived class

Class B:A   is the syntax to inherit a base class

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions