Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you implement Inheritance in dot net ?

Answers were Sorted based on User's Feedback



How do you implement Inheritance in dot net ?..

Answer / mohan kumar e.

By using ":" we can implement inheritance.

Is This Answer Correct ?    17 Yes 1 No

How do you implement Inheritance in dot net ?..

Answer / senthil kumar

In c++ we include the :: operator.
In c# we include the " : "
here example
class class1
{
----
----
----
}

class class2 : class1
{
-----
-----
-----
}

when we use the multiple class for implementation,comman(,)
is used to seperate for the class

Is This Answer Correct ?    10 Yes 2 No

How do you implement Inheritance in dot net ?..

Answer / neelam sharma

by using : we can implement the inheritance

Is This Answer Correct ?    8 Yes 1 No

How do you implement Inheritance in dot net ?..

Answer / tarun kumar

In c# we include the " : "
here example
class class1
{
----
----
----
}

class class2 : class1
{
-----
-----
-----
}

Is This Answer Correct ?    5 Yes 0 No

How do you implement Inheritance in dot net ?..

Answer / mahesh babu ummaneni

Inheritence is nothing but base class properties come to derived class
example
class sample
{
//here we write some members

}
class sampl1:sample
{
//sample members acess here
}

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the use of "default" and "Using" keyword?

3 Answers   TCS,


What?s the top .NET class that everything is derived from?

3 Answers  


1)what is difference between char and varchar in sql server 2005 2) what is composite key and candidate key 3) what is temporary table and derived table 4) how to calculate difference between two dates

1 Answers   Wipro,


Can you declare struct members as protected?

0 Answers  


Where do you add an event handler ?

1 Answers  


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

0 Answers  


What is a generic method?

0 Answers  


Is c# good for beginners?

0 Answers  


Is xml tags are case sensitive?

0 Answers  


Is Facebook a desktop application?

0 Answers  


What are the properties of a string class?

0 Answers  


Is comparator a functional interface?

0 Answers  


Categories