DotNetStyling

Welcome to DotNetStyling Sign in | Join | Help
in Search

Browse by Tags

All Tags » CLR
  • How fast StringBuilder is ?

    Subject As we know StringBuilder builds strings faster than + operator or String.Concat() method.  Also StringBuilder with specified capacity performs faster than with default one. But how fast StringBuilder is? I created simple application to measure performance of different approaches of string concatenations. ...
    Posted to DotNetStyling - .Net World by Armen Ayvazyan (Weblog) by admin on října 27, 2007
  • Optimal String Comparison

    Technorati tags: .Net, C#, CRL, String, Compare, Equals, CompareTo, Intern .Net Framework gives us several tools how to compare two strings. We can use String.Equals(), String.Compare(), StringCompareTo(), etc. What we are going to discover now it is what is the performance impact of each of this methods.  Let's first take a ...
    Posted to DotNetStyling - .Net World by Armen Ayvazyan (Weblog) by admin on října 4, 2007
Powered by Community Server (Personal Edition), by Telligent Systems