Is and as in c#?


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

Post New Answer

More C Sharp Interview Questions

An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.

6 Answers   Synechron,


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 the purpose of constructor in c#?

0 Answers  


C# is case sensitive, what is mean by case sensitive

3 Answers  


What is wpf c#?

0 Answers  






What are native methods?

0 Answers  


how can i display crystalreport in button click? am working with VS2005

1 Answers  


What is command object in c#?

0 Answers  


Why extension method is static?

0 Answers  


What is an assembly qualified name? Is it a filename? How is it different?

0 Answers  


Explain the difference between directcast and ctype.

0 Answers  


Can we create instance for Abstract class?

28 Answers   HCL, Satyam, SoftSol, Wipro,


Categories