Click here to Skip to main content
15,920,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 9:50
professionalJeff Varszegi20-Apr-04 9:50 
GeneralRe: Small string building question Pin
Heath Stewart20-Apr-04 8:36
protectorHeath Stewart20-Apr-04 8:36 
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 9:22
professionalJeff Varszegi20-Apr-04 9:22 
GeneralRe: Small string building question Pin
Heath Stewart20-Apr-04 9:26
protectorHeath Stewart20-Apr-04 9:26 
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 9:36
professionalJeff Varszegi20-Apr-04 9:36 
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 9:41
professionalJeff Varszegi20-Apr-04 9:41 
GeneralRe: Small string building question Pin
Heath Stewart20-Apr-04 9:51
protectorHeath Stewart20-Apr-04 9:51 
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 10:02
professionalJeff Varszegi20-Apr-04 10:02 
It's really no problem. I'm just a speed freak when it comes to my code, and I'm constantly fiddling around to see what works fastest, sort of an object-oriented hot rodder. Wotta geek, eh? It's just my thing. I don't claim to be an all-around .NET expert, just pretty good with language features. Some of the questions you answer immediately on this board would take me a while.

I tend to use StringBuilder more now only when constructing large strings (although when I first made the jump from Java I used it religiously). It gives really good performance and lets you write your code in a normal way, without breaking lines. Every time I create one, though, I'm in the habit of just throwing it away; I figure that the bigger the string and related work, the less and less the instantiation of one object matters. Not only that, but if you construct strings of different sizes, and you get a really big one once in a while, I believe the internal char array of a StringBuilder will never shrink, which in some cases could be a problem.


Regards,

Jeff Varszegi
GeneralRe: Small string building question Pin
Jeff Varszegi20-Apr-04 9:48
professionalJeff Varszegi20-Apr-04 9:48 
GeneralRemoving plus on root node of a TreeView Pin
Matt Daley20-Apr-04 6:15
Matt Daley20-Apr-04 6:15 
GeneralRe: Removing plus on root node of a TreeView Pin
Mike Dimmick20-Apr-04 6:49
Mike Dimmick20-Apr-04 6:49 
GeneralRe: Removing plus on root node of a TreeView Pin
Matt Daley20-Apr-04 7:18
Matt Daley20-Apr-04 7:18 
QuestionInformation about doing a bandwidth monitor? Pin
Marlun20-Apr-04 4:10
Marlun20-Apr-04 4:10 
AnswerRe: Information about doing a bandwidth monitor? Pin
leppie20-Apr-04 6:54
leppie20-Apr-04 6:54 
GeneralRe: Information about doing a bandwidth monitor? Pin
Marlun20-Apr-04 7:01
Marlun20-Apr-04 7:01 
GeneralRe: Information about doing a bandwidth monitor? Pin
leppie20-Apr-04 7:49
leppie20-Apr-04 7:49 
GeneralRe: Information about doing a bandwidth monitor? Pin
Anonymous21-Apr-04 0:40
Anonymous21-Apr-04 0:40 
QuestionHow to dynamic load or show form by Form name ? Pin
Old Gun20-Apr-04 3:07
Old Gun20-Apr-04 3:07 
AnswerRe: How to dynamic load or show form by Form name ? Pin
Mike Ellison20-Apr-04 3:24
Mike Ellison20-Apr-04 3:24 
AnswerRe: How to dynamic load or show form by Form name ? Pin
Baris Kurtlutepe20-Apr-04 3:28
Baris Kurtlutepe20-Apr-04 3:28 
GeneralRe: How to dynamic load or show form by Form name ? Pin
Old Gun20-Apr-04 15:02
Old Gun20-Apr-04 15:02 
GeneralRe: How to dynamic load or show form by Form name ? Pin
Mike Ellison20-Apr-04 17:53
Mike Ellison20-Apr-04 17:53 
Generaluk dates Pin
robmays20-Apr-04 2:33
robmays20-Apr-04 2:33 
GeneralRe: uk dates Pin
Roman Rodov20-Apr-04 2:47
Roman Rodov20-Apr-04 2:47 
GeneralRe: uk dates Pin
robmays20-Apr-04 2:53
robmays20-Apr-04 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.