What is javascriptserializer c#?
No Answer is Posted For this Question
Be the First to Post Answer
Explain clr in brief.
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 difference between value and reference types?
What is concrete method in c#?
What is thread and explain states of a thread in c#?
Why do we parse in c#?
Is as operator in c#?
Explain the difference between a struct and a class?
What is exe in c#?
What is definition in c#?
how to implement a web service in .net
What is the difference between null and string empty in c#?