When you inherit a protected class-level variable, who is
it available to?
Answer Posted / p.sahoo
Protected Class Variables Are Always Inherited in it's
derived classes.
But in the namespace it confused to me because in a
namespace we can set any type of modifiers.
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the purpose of reserved word using in c#?
What is a static field?
Explain the use of virtual, sealed, override, and abstract method?
How to update the gui from another thread in c#?
What is asp net c# corner?
Which is faster dictionary or hashtable?
How do I create a single-file assembly?
What is string programming language?
What is instantiating a class?
Explain About disco and uddi
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
Why do we need abstract class?
Are value types sealed?
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; } }
How do I stop my console from closing in c#?