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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# and .net same?

850


Why do we need constructor in c#?

924


Which language is used for desktop application?

949


Explain circular reference in c#?

934


What is difference between Enum and Struct?

988


What is the meaning of MSIL?

1244


What is a thread? What is multithreading?

928


Can we store different data types in arraylist in c#?

905


What is null in database?

875


Which of the following API is used to hide a window?

1023


What is cls, cts and clr in net?

903


What are strongly typed objects?

923


What is the difference between ref and out in c#?

895


Can a constructor have a return type?

858


What are methods c#?

870