A
Q. What will be the output?
Code:
string a = "Hello";
string b = "Hello";
Console.WriteLine(object.ReferenceEquals(a, b));
string b = "Hello";
Console.WriteLine(object.ReferenceEquals(a, b));
- Correct Answer - Option(A)
- Views: 1
- Filed under category .NET Programming
- Hashtags:
Discusssion
Login to discuss.