Buy Questpond's video subscriptions on
huge discount
.
Online: 3512
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
What is the output for following code?
public static void Main()
{
Console.WriteLine(Math.Round(0.5));
Console.WriteLine(Math.Round(2.5));
Console.WriteLine(Math.Round(1.5));
}
Posted by
Manicse
on 10/7/2016 | Category:
C# Interview questions
| Views: 6121 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
0,0,0
0,2,1
0,2,2
0,3,2
All Above
Math Round function used in many places in C#
It takes even values mostly
Show Correct Answer
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
The 'ref' Keyword in which of the followin ...
Next > :
What is the use of caspol.exe tool?
Comments or Responses
Login to post response
More Interview Questions by Manicse
What is the use of caspol.exe tool?
What is ResGen.exe tool used for?
Dynamic Polymorphism Implemented by?
Operator Overloading is perform based on?
Null Coalescing type in C# used with nullable?
Which of the below is correct format of Jagged array?
What is Co-Related subquery?
Latest Interview Questions
What is X-SourceFiles?
What is Transfer-Encoding?
What is the purpose of AddSingleton method?
Explain the purpose of constructor() in Aurelia
What will be the output? ;with cte as(select rn=1 union all select rn ...
What is the significance of index.html in Aurelia?
Explain "Hello World " in Aurelia
What does <body aurelia-app="src/main"> signifies?
More ...