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
What is mean by c#?
Tell me the difference between value passing and address passing?
What is jit (just in time)?
What are assemblies?
What is the console on a mac?
What does dbml stand for?
Explain the difference between a namespace and assembly name in .net?
How can you force derived classes to provide new method implementations for virtual methods?
Explain clr in brief.
Which types of inheritances does c# support?
What is the difference between decimal and integer?
What is a trace and asset? Explain some differences?
What is assembly c#?
What is delegates in c# and uses of delegates?
What is a Assembly?