Link to home
Start Free TrialLog in
Avatar of mathieu_cupryk
mathieu_cuprykFlag for Canada

asked on

Comparing C# strings.

I have if (String2LookIn == "about:blank") return "";
What is the appropriate way to compare this string?

ASKER CERTIFIED SOLUTION
Avatar of Nightman
Nightman
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nepali
nepali

comparison is fine.. but its better to return string.Empty than a zero length string..