How Does .NET Compiler Compare Two String?
- by Pankaj
string a="I am comparing 2 string";
string b="I am comparing 2 string";
if(a==b)
return true;
else
return false;
How does a .NET compiler compare two strings? Is string work like a struct or like an int?