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 string empty?
Why use “using” in c#?
Why we use get and set property in c#?
What is platform independence"?
What is stringreader in c#?
What is the difference between ienumerable and icollection?
Illustrate serialization?
In which way a two-dimensional array declared in C#?
My switch statement works differently! Why?
If a child class instance is created, which class constructor is called first - base class or child class?
What is ulong in c#?
What is satellite assembly? And steps to create satellite assembly?
what is c# command?
What's the difference between system.string and system.text.stringbuilder classes?
Why is aws serverless?