Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multiple message filters Pin
Heath Stewart23-Mar-04 4:21
protectorHeath Stewart23-Mar-04 4:21 
GeneralRe: Multiple message filters Pin
bisquic28-Mar-04 19:07
bisquic28-Mar-04 19:07 
GeneralRe: Multiple message filters Pin
Heath Stewart29-Mar-04 3:06
protectorHeath Stewart29-Mar-04 3:06 
GeneralRe: Multiple message filters Pin
bisquic29-Mar-04 3:14
bisquic29-Mar-04 3:14 
GeneralDatagrid to text (values only) Pin
jazzle22-Mar-04 10:42
jazzle22-Mar-04 10:42 
GeneralRe: Datagrid to text (values only) Pin
Nick Parker22-Mar-04 18:02
protectorNick Parker22-Mar-04 18:02 
GeneralRe: Datagrid to text (values only) Pin
jazzle22-Mar-04 21:37
jazzle22-Mar-04 21:37 
GeneralRe: Datagrid to text (values only) Pin
Heath Stewart23-Mar-04 4:24
protectorHeath Stewart23-Mar-04 4:24 
It's very useful - especially when formatting unknown lengths of strings. The String class is immutable - any changes to it force another string to be created and the chars within the original string to be copied to the new string merged with the changes you've made. Do this several hundred times and you're app is slow. The StringBuilder is a mutable string and eliminates these problems and should be used when appending strings like Nick pointed out. The StringBuilder is also used internally in many methods like String.Format.

 

Microsoft MVP, Visual C#
My Articles
GeneralConverting strings to DateTime structs Pin
profoundwhispers22-Mar-04 10:38
profoundwhispers22-Mar-04 10:38 
GeneralRe: Converting strings to DateTime structs Pin
Edbert P22-Mar-04 12:19
Edbert P22-Mar-04 12:19 
GeneralRe: Converting strings to DateTime structs Pin
profoundwhispers22-Mar-04 12:39
profoundwhispers22-Mar-04 12:39 
GeneralRe: Converting strings to DateTime structs Pin
Edbert P22-Mar-04 13:18
Edbert P22-Mar-04 13:18 
GeneralRe: Converting strings to DateTime structs Pin
Bryan White31-Mar-04 9:59
Bryan White31-Mar-04 9:59 
GeneralEvents in Datagrid Pin
Anonymous22-Mar-04 10:30
Anonymous22-Mar-04 10:30 
GeneralRe: Events in Datagrid Pin
Ruchi Gupta22-Mar-04 11:55
Ruchi Gupta22-Mar-04 11:55 
GeneralRe: Events in Datagrid Pin
Anonymous23-Mar-04 11:15
Anonymous23-Mar-04 11:15 
GeneralSocket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot22-Mar-04 10:25
goodpilot22-Mar-04 10:25 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Corinna John22-Mar-04 19:48
Corinna John22-Mar-04 19:48 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 3:18
protectorHeath Stewart23-Mar-04 3:18 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 4:42
goodpilot23-Mar-04 4:42 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 5:20
protectorHeath Stewart23-Mar-04 5:20 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 5:28
goodpilot23-Mar-04 5:28 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:56
goodpilot24-Mar-04 3:56 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:59
goodpilot24-Mar-04 3:59 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart24-Mar-04 4:13
protectorHeath Stewart24-Mar-04 4:13 

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.