What are the keywords used to pass parameters to
the base class and how do I invoke other constructors.
Answer Posted / ram
Class Base
{
Base(int i)
{
}
}
class child
{
child(int i):Base(i)
{
}
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between virtual and override in c#?
What is nameof c#?
What does == mean in c sharp?
What is a float?
What is difference between write and writeline?
Why cannot you specify the accessibility modifier for methods inside the interface?
What is difference between Trace and Debug
Can we override interface methods in c#?
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
What is expression tree in c#?
How do you declare an interface in c#?
What is namespace explain with example?
What is for loop in c#?
What is #region in c#?
What is hashtable in c# with example?