Explain a MSIL ? Why is it appreciated by all developers?
No Answer is Posted For this Question
Be the First to Post Answer
How to get the sum of last 3 items in a list using lambda expressions?
What does ienumerable mean?
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's the difference between a static method and a non static method c#?
Can hashtable have duplicate keys in c#?
What is the use of static abstract class
5 Answers Karur Vysya Bank KVB, Target,
What are the 2 broad classifications of fields in c#?
How many types of namespaces available in version4?
Are tuples immutable c#?
what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??
Can constructor be protected in c#?
How can I get around scope problems in a try/catch?