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 namespace mean?

509


What is difference between internal and protected internal in c#?

462


What is difference between C# and VB.NET?

512


What is data set in c#?

500


Can you have more than one namespace in c#?

489






Why do we use stringbuilder in c#?

512


Why is .net so popular?

526


What is yield break in c#?

505


What is ildasm.exe used for?

530


what is the index value of the first element in an array?

508


What are the three types of predicates?

454


Can int be null in c#?

498


When was c# created?

531


Write a program in C# for checking a given number is PRIME or not.

630


Why c# is type safe?

522