SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




vb / asp.net Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

C# - advantage of using System.Text.StringBuilder over System.String

        

Reply
 
LinkBack Thread Tools Display Modes
Old 26-01-07, 10:25 AM   #1 (permalink)
Junior Member
 
preethisingh's Avatar
 
Join Date: Jul 2006
Posts: 1,391
Thanks: 1
Thanked 32 Times in 29 Posts
Rep Power: 20 preethisingh is a jewel in the rough preethisingh is a jewel in the rough preethisingh is a jewel in the rough preethisingh is a jewel in the rough
C# - advantage of using System.Text.StringBuilder over System.String

What is the advantage of using System.Text.StringBuilder over System.String ?

preethisingh is offline Offline   Reply With Quote
Old 16-01-09, 05:46 AM   #2 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 saji123 is on a distinguished road
Re: C# - advantage of using System.Text.StringBuilder over System.String

s += titletext;
s += "\r\n--------";

etc

you can just do
sb.append(newtext);
sb.appendline("---------");
saji123 is offline Offline   Reply With Quote
Reply

Tags
advantage , systemstring , systemtextstringbuilder


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sql - What is the advantage to use trigger in your PL? radhika_btech Oracle Interview / Technical Questions 0 23-01-07 09:39 PM
Sql - What is the advantage of specifying WITH GRANT OPTION in the GRANT command? radhika_btech Oracle Interview / Technical Questions 0 23-01-07 09:38 PM
What is advantage of having disk shadowing/ Mirroring ? bhavana Oracle Interview / Technical Questions 0 23-01-07 07:05 PM
What is the advantage of the library? bhavana Oracle Interview / Technical Questions 0 23-01-07 03:13 PM
Intel aims for open-source graphics advantage wizkid Latest Tech News & Innovations 0 10-08-06 05:33 PM


All times are GMT +6.5. The time now is 10:08 PM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.2