Buy Questpond's video subscriptions on
huge discount
.
Online: 5722
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 ...
Which condition has high performance among this :
int i = 5;
1 . if ( i == 5)
{ }
2. if ( 5 == i )
{ }
Posted by
Ajay.Kalol
on 5/30/2012 | Category:
C# Interview questions
| Views: 6055 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
1
2
both
incorrect syntax
All Above
It will take value of 5 and take it to compare with value on address of i, and then directly make decision.
Show Correct Answer
Asked In:
My Interviews |
Alert Moderator
Bookmark It
< Previous :
What is the OData ?
Next > :
What is Json.net ?
Comments or Responses
Login to post response
More Interview Questions by Ajay.Kalol
How to swap value without using Temporary Variable ?
I have a VIEWSTATE["Test"] in my Page, I am Refreshing Page ...
Latest Interview Questions
What is Json.net ?
Can we declare abstract keyword on fields in a class ?
When any method is declared as abstract then it is necessary to declar ...
By default, what is the access specifier of member variables and membe ...
In Method Overriding, the return type can be changed while overriding ...
While doing Method Overloading, return type must be same. True or Fa ...
what is node.js ?
What is WIF ?
More ...