Buy Questpond's video subscriptions on
huge discount
.
Online: 1464
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
What’s the advantage of using System.Text.StringBuilder over System.String?
Posted by
Govind
on 3/14/2012 | Category:
C# Interview questions
| Views: 9906 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
String Builder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated on, a new instance is created.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
Difference between String.Equals(string1,string2) ...
Next > :
You have to add two asp:Button controls for Policy ...
Comments or Responses
Posted by:
Rajni.Shekhar
on: 3/21/2012 |
Points: 10
try following code for string builder
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("example of");
sb.Append(" string builder");
Response.Write(sb);
Posted by:
Iluvdotnetfunda
on: 3/27/2012 |
Points: 10
I can't get you..
Can please give me a brief idea about this..
Thanks
Login to post response
More Interview Questions by Govind
Latest Interview Questions
You have to add two asp:Button controls for Policy and for Renewal.You ...
What is the difference between Resume, CV and Biodata?
What is the difference between First() and Single() extension methods ...
What is the difference between FirstOrDefault() and SingleOrDefault() ...
What is Black Box and White Box Testing?
Can you explain in brief about Aggregate() extension method in LINQ ?
What is the difference between Count() and LongCount() extension metho ...
What is the basic difference between a "const" and "rea ...
More ...