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 internal and protected-internal accessspecifier in c#.net?

1 Answers  


What is a string c#?

0 Answers  


What is the difference between list and arraylist c#?

0 Answers  


Why do we use void in c#?

0 Answers  


What is the advantage of constructor?

0 Answers  






How does the lifecycle of Windows services differ from Standard EXE?

0 Answers   Siebel Systems,


What are the benefits of using windows services:

0 Answers  


Where do we set the min and max pool size for connection pooling?

0 Answers  


For read-only operation which property you have to designated?

0 Answers   Siebel,


List down the different ide’s provided by microsoft for c# development.

0 Answers  


Explain About web methods and its various attributes

0 Answers   Digital GlobalSoft,


Can arraylist hold primitive types?

0 Answers  


Categories