how to compare numbers and dispaly the largest ?
*first thing I wanted to do is to input how many numbers to
be compared
*and then analyzed the largest then display it.


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

Post New Answer

More C Sharp Interview Questions

Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

0 Answers   Siemens,


Is type nullable c#?

0 Answers  


Why do we use Design Pattern in C#?

0 Answers   Impetus,


Constructor to an arbitrary base constructor?

0 Answers  


Are structs value types c#?

0 Answers  






What is entity framework in c#?

0 Answers  


Is for loop faster than foreach?

0 Answers  


Does C# support multiple inheritance?

5 Answers  


i have a question which is quite simple but yet complicated for me my question is why do we use void, if it does not return anything to the compiler? if it is used for normal display it can also be done by what is called Console.Write() or Consol.WriteLine() and if i do not use void with my method then my compiler throws me an error. if i return a value say integer then i write public int fun() display of the result can also be done here then why is it so necessary to use void with a function and why so compiler throw us an error if v don't use void return type?

2 Answers  


Illustrate race condition?

0 Answers  


How do I use the 'using' keyword with multiple objects?

0 Answers  


Can scriptable objects have methods?

0 Answers  


Categories