Friday, 1 May 2015

Difference Between String and StringBuilder

String:

      - Once the string object is created, its length and content cannot be modified.

      - this is Slower.

 StringBuilder:

     - Even after object is created, it can be able to modify length and content.

     - Faster

No comments:

Post a Comment