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
Why dataset is used in c#?
Is std :: string null terminated?
What is option parameter in C#?
what is the difference between a struct and a class in c#?
What is hashtable in c# net with example?
What is delegation in oops?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
Illustrate serialization?
Is c# front end or back end?
What does int32 mean in c#?
What is default constructor in c#?
Is string a primitive data type in c#?
What are object pooling and connection pooling and difference between them?
Which class comes after the SortedList class?
What is the difference between dynamic and var in c#?