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
What does executescalar return in c#?
How do I run managed code in a process?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Why do we overload constructors?
How many digits is a 32 bit number?
What do you mean by delegates and explain different types of delegates?
What is the difference between “dispose” and “finalize” variables in c#?
How C# 4.0 supports dynamic programming language?
Which is faster abstract class or interface in c#?
Will the following code compile and run?
Can constructor be private c#?
What is the difference between values and reference types?
What is the difference between method overriding and method overloading?
What is callback delegate in c#?
Is typeof c#?