What are the access-specifiers available in c#?
Answer Posted / raees khan
public, private,protected are A-S in c#
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
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; } }
Explain about CTS?
What is the difference between static and private constructor in c#?
Explain the difference between private and shared assembly?
What is the meaning of 0 in c#?
What is the purpose of namespace?
Define property in c#.net?
What is parameter c#?
What is Garbage Collection in .Net?
Is there throws keyword in c#?
In C#, explain the difference between overloading and overriding.
Why do we use struct in c#?
Why do we need escape characters?
What is the difference between public, static, and void?
What is keywords in c#?