ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
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? 
 Question Submitted By :: Rajesh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
true
true
false
 
Is This Answer Correct ?    4 Yes 0 No
Aspdev556
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
What does virtual keyword mean ? TCS1
What is stack and heap? Wipro4
What interface do you implement in order to provide a user of your class deterministic, destructor-like cleanup?  1
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?  1
Are private class-level variables inherited?  3
what are delegates? How you used then in your project? Kanbay8
What?s different about switch statements in C#?  2
How do you generate documentation from the C# file commented properly with a command-line compiler?  1
What?s a satellite assembly? Visual-Soft2
write code for Factorial? Tech-Mahindra4
how many catch we can write in thye program?  2
How?s method overriding different from overloading?  1
A->B->C (EXTENDS) How the constructors are called when we created an object of C Karur-Vysya-Bank-KVB2
What are STA And MTA in threading? Kanbay2
What is the difference between protected and protected internal? Fulcrum-Logic1
Can we have a non static member function in a base class to be override in derived with static modifier? Wipro5
When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)? Mind-Tree1
What?s an abstract class?  1
ThreadStart is defined in the namespace System.Threading. What type of entity is ThreadStart?  1
What are the security issues if we send a query from the application? Microsoft1
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com