Is and as in c#?
No Answer is Posted For this Question
Be the First to Post Answer
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.
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(); } } }
What is the purpose of constructor in c#?
C# is case sensitive, what is mean by case sensitive
What is wpf c#?
What are native methods?
how can i display crystalreport in button click? am working with VS2005
What is command object in c#?
Why extension method is static?
What is an assembly qualified name? Is it a filename? How is it different?
Explain the difference between directcast and ctype.
Can we create instance for Abstract class?
28 Answers HCL, Satyam, SoftSol, Wipro,