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 is the use of base keyword? Tell me a practical example for base keyword’s usage?
What is this keyword in C#?
What is “using” statement in c#?
Is constructor a static method?
What is the use of return in c#?
What are events in C#?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
What are the different types of assemblies available and their purpose?
What you mean by inner exception in c#?
What's difference between constants and static readonly?
What is generic delegate in c#?
What do u mean by thread safe?
What is a hashset c#?
What is a collection in c#?
Explain concurrency with aop?