What is the use of console readline () in c#?


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

Post New Answer

More C Sharp Interview Questions

Explain what a diffgram, and a good use for one Define diffgram? How it be used?

0 Answers   Siebel,


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 does exclamation mark mean in access query?

0 Answers  


What is an array of arrays called?

0 Answers  


What is meant by enumerable in c#?

0 Answers  






What is difference between sleep () and wait ()?

0 Answers  


What are the advantages of constructor?

0 Answers  


When a switch is said to be congested?

0 Answers   Wipro,


may we achieve polyphormsm through overloading a funtion?Is it right or wrong concept because i read polyphormism can be achieved through overloading?plz help me thnks

1 Answers  


What is multithreading? What are the problems that comes with multithreading and how to manage them?

0 Answers   MCN Solutions,


Should I make my destructor virtual?

0 Answers  


What benefit do you get from using a primary interop assembly (pia)?

0 Answers  


Categories