What is private protected in c#?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is Nullable Type in c#

5 Answers   IBM,


what is satelite assembly?

5 Answers   ABC,


What is reflection c#?

0 Answers  


how to prevent a class from being inherited in c#.net?

0 Answers  


What is string in c# net?

0 Answers  






What is difference between mutable and immutable in c#?

0 Answers  


hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }

2 Answers  


What is verbatim literal in c#?

0 Answers  


What is serialization of data?

0 Answers  


What are the features of c#?

0 Answers  


What is the difference between c and c# programming?

0 Answers  


What is view model in c#?

0 Answers  


Categories