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

wt is namespace? wt is the use?

12 Answers  


Which sorting algorithm is best?

0 Answers  


what is Encapsulation?

7 Answers   IBM, Tech Mahindra,


What is the difference between public, static, and void?

0 Answers  


Can constructor be private c#?

0 Answers  


What is datareader c#?

0 Answers  


How do you create empty strings in c#?

0 Answers  


Can you declare a class or a struct as constant?

0 Answers  


Can we set image Source dynamically using C# in WPF application?

0 Answers   Tech Mahindra,


What is the default value of string in c#?

0 Answers  


Explain the process of inheriting a class into another class?

0 Answers  


Explain what are the steps for creating clr trigger?

0 Answers  


Categories