I just saw a weird result, while I tried to combine two lines null: it returns empty! I can’t imagine if he has any kind of utility or why this is happening.
Example:
string sns = null;
sns = sns + sns;
string snss = null;
snss = String.Concat(snss, snss);
Can someone tell me why it returns String.Emptyinstead null?
source
share