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

What is the property of class?

1134


Can constructor have return type c#?

1054


Is it possible to nest cfml conditional tags?

948


Explain what is copy constructor?

1066


What is the function of .IsDescendent()?

1064


What is the use of readkey in c#?

1054


Explain the difference between a namespace and assembly name in .net?

991


If dll and exe files are same it means you can deploy both the files in gac?

979


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

3104


What is the default value of singleordefault?

1006


What is the difference between list and arraylist in c#?

913


What are desktop applications examples?

997


how to prevent a class from being inherited in c#.net?

1031


what is the difference between a struct and a class in c#?

1219


How do you declare a method in c#?

998