How do you inherit from a class in C#?

How do you inherit from a class in C#?

Place a colon and then the name of the base class. 
exmple:-
       class a
{}
class b: a //inherit class a
{}

By:kamal
Date:2013-10-10 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Links

C interview questions and answers for experienced and fresher