| | |
using in lass StringBuilder
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Thread Solved
![]() |
•
•
Join Date: Aug 2008
Posts: 1,735
Reputation:
Solved Threads: 186
String builder can have advantages when buidling up output. So instead of a ton of
s += titletext;
s += "\r\n--------";
etc
you can just do
sb.append(newtext);
sb.appendline("---------");
it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.
s += titletext;
s += "\r\n--------";
etc
you can just do
sb.append(newtext);
sb.appendline("---------");
it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
•
•
Join Date: Oct 2008
Posts: 63
Reputation:
Solved Threads: 0
[QUOTE=LizR;750021]String builder can have advantages when buidling up output. So instead of a ton of
s += titletext;
s += "\r\n--------";
etc
you can just do
sb.append(newtext);
sb.appendline("---------");
it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.[/QUO
thanks LIZR
s += titletext;
s += "\r\n--------";
etc
you can just do
sb.append(newtext);
sb.appendline("---------");
it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.[/QUO
thanks LIZR
![]() |
Other Threads in the C# Forum
- Previous Thread: listview looping
- Next Thread: Merge Tables
| Thread Tools | Search this Thread |
.net access algorithm animation array bitmap box c# check checkbox client combobox control conversion csharp customactiondata database datagrid datagridview dataset date/time datetime datetimepicker degrees directrobot display dll draganddrop drawing encryption enum excel file filename files form format formbox forms function gdi+ gtk hash image input install java leak list math mouseclick mp3 mysql native networking operator outlook2003 packaging path photoshop picturebox pixelinversion pixelminversion post print process programming radians regex remoting reporting richtextbox safari server sleep snooze socket sql statistics string table tables tcp text textbox thread time timer update usercontrol usercontrols validation visualstudio webbrowser webcam wfa wia winforms wpf xml






