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
Can we have multiple threads in one app domain?
What is difference between abstraction and encapsulation in c#?
What is the difference between as and is operators in c#?
How do I unload an application domain?
What is namespace in oop?
Contrast between an interface and abstract class?
What are primitive data types in c#?
What is an inheritance in c#?
Explain the OOPS concept in C#?
How to add controls dynamically to the form using c#.net.
what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }
What is delegation in oops?
What is yield return in c#?
What kind of the information stored inside the assembly?
Why is dll used?