Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

int i = 1;
int j = 1;
System.Console.WriteLine(i == j);
System.Console.WriteLine(i.ToString() == j.ToString());
System.Console.WriteLine((object)i == (object)j);
Give the sample code above, what is the output to the console?

Answer Posted / aspdev556

true
true
false

Is This Answer Correct ?    43 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are extender provider components?

949


What are the advantages of generics in c#?

959


What's the difference between an integer and int?

1139


How many dimensions can an array have?

917


When do you generally use a class over a struct?

1009


What is static and use of it?

1032


Can enum be null c#?

1099


what is a structure in c#

1804


Can arraylist store different data types in c#?

1047


Is hashset ordered c#?

1015


What is the purpose of escape sequence?

1071


What is the difference between disposing of () and finalize() methods in c#?

1055


What are the boolean data types in c#?

1063


Which namespace is required to implement trace ?

1032


Is c++ or c# better?

1002