Avatar of Tom Knowlton
Tom Knowlton
Flag for United States of America

asked on 

In C#, Is null, "", and string.Empty the exact same thing described 3 different ways?

Is null, "" and string.Empty the exact same thing?  Please explain your answer.

CommonHelpers.LastWorkingProjectID == null || CommonHelpers.LastWorkingProjectID == "" || CommonHelpers.LastWorkingProjectID == string.Empty

Open in new window

.NET ProgrammingC#

Avatar of undefined
Last Comment
Tom Knowlton

8/22/2022 - Mon