![]() |
|||
Comments and Discussions
|
About Article
Alternative to Best practices in developing ASP.NET applications
I agree with Chris...string.IsNullOrEmpty: 312 msLength: 140 ms [fastest]This is not a fair comparison.Need to compare:(string != null && string.Length !=0)with: String.IsNullOrEmpty(string)Even if the first construct is faster, there is a readability...
Related Articles
|
||||||||||||||||||||||||||||||||||||||||||||||||||