How do you inherit from a class in C#?

Answers were Sorted based on User's Feedback



How do you inherit from a class in C#?..

Answer / venu gopal

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

Is This Answer Correct ?    4 Yes 0 No

How do you inherit from a class in C#?..

Answer / hafiz usman majeed

subclassname : superclassname

Is This Answer Correct ?    4 Yes 0 No

How do you inherit from a class in C#?..

Answer / shadab

write first derived class name after that colon(:)and then
write super class name.
for example

class Base
{
}
class Derived:Base
{

}

for more information u can visit
http://www.shadab-programminghelp.blogspot.com

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

what is satelite assembly?

5 Answers   ABC,


What is a partial class. Give an example?

0 Answers  


What is c# windows form application?

0 Answers  


How do I create multifile assembly?

0 Answers  


Explain the Scope of public/private/friend/protected/protected friend.

1 Answers   Rigel Networks, Wipro,






What is difference between an Structure and Class?

0 Answers  


What are the various components in crystal reports?

0 Answers  


What’s a strong name?

0 Answers  


Explain how do you directly call a native function exported from a dll?

0 Answers  


What are the examples of data types?

0 Answers  


What is difference between code access and role based security?

0 Answers  


When should you use generics?

0 Answers  


Categories