| Next Tip?
Home » CSharp

How do you inherit from a class in c#?

2 September 2009 427 views No Comment
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 2.00 out of 5)
Loading ... Loading ...

Place a colon(:)and then the name of the base class.

eg:

public baseclass

{

/ /signatures

}

public childclass : baseclass

{

//signature

}

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.