T
Tdw
In C#, you can use the string data type to hold a series of characters. The
string can be compared to another string using the == operator in the same
way that you compare numeric or character variables. However, you can only
use the == comparison operator with strings that are assigned literal
values; you cannot use it with strings that are created through several
other methods. Why?
string can be compared to another string using the == operator in the same
way that you compare numeric or character variables. However, you can only
use the == comparison operator with strings that are assigned literal
values; you cannot use it with strings that are created through several
other methods. Why?