What is difference between write and writeline in c#?


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

Post New Answer

More C Sharp Interview Questions

Why do we use lambda expression in c#?

0 Answers  


What is cts, clr?

0 Answers  


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  


Explain the difference between and xml documentation tag?

0 Answers  


What is append in c#?

0 Answers  






What are examples of desktop applications?

0 Answers  


How long can a string be c#?

0 Answers  


What are the two kinds of properties in c#.

0 Answers  


write a c# program add two matrix with input number ?

0 Answers   Wipro,


What is console readkey in vb net?

0 Answers  


How can you overload a method?

6 Answers  


What is the usage of transponders?

0 Answers   Wipro,


Categories