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...

What are the keywords used to pass parameters to
the base class and how do I invoke other constructors.

Answer Posted / varish

Class Base
{
Base(int i)
{
}
}
class child
{
child(int i):base(i)
{
}
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does executescalar return in c#?

878


How do I run managed code in a process?

1013


What is the main usage of keyword “virtual” ? How does it work for a method or property?

909


Why do we overload constructors?

892


How many digits is a 32 bit number?

884


What do you mean by delegates and explain different types of delegates?

958


What is the difference between “dispose” and “finalize” variables in c#?

1007


How C# 4.0 supports dynamic programming language?

1018


Which is faster abstract class or interface in c#?

970


Will the following code compile and run?

980


Can constructor be private c#?

876


What is the difference between values and reference types?

992


What is the difference between method overriding and method overloading?

938


What is callback delegate in c#?

864


Is typeof c#?

994