Link to home
Start Free TrialLog in
Avatar of BlakeMcKenna
BlakeMcKennaFlag for United States of America

asked on

Difference between String.Empty and ""?

When I initialize a String variable...I always assign "" to it, i.e.  strVar1 = ""

Is String.Empty the same as ""? If so, is String.Empty the correct way to initialize a String variable?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America 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 BlakeMcKenna

ASKER

Thanks for the confirmation Kaufmed!