Sunday, January 4, 2009

Whats the difference between String.Emtpy and Empty Quotes

String.empty wont create any object while "" will create a new object in the memory for the checking.



1 comment:

Dave Dunkin said...

In .NET 2.0 and up, there is no difference in the JIT compiled code.

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.