Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Which is editable string or stringbuilder
Posted
Comments
[no name] 29-Feb-12 7:17am    
What do you mean by "editable"?

check this article

String Vs StringBuilder (C#)[^]

This will give you an idea
 
Share this answer
 
If you're asking if the value of
C#
string
or
C#
StringBuilder
variables can be changed after it's assigned, the answer would be yes for both. Each one in their own way. I'm going to guess you would like to change part of the value stored in the variable for which I think the best option is
C#
string


Like Aniket said, the article will give you the info you're looking for.
 
Share this answer
 
Comments
CHill60 10-Dec-15 19:52pm    
Question was answered nearly 4 years ago and you're referring back to Solution 1. Best to avoid answering old questions unless you are bringing something new and pertinent to the discussion

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900