Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: User control automatically resized when the parent form is sized in C# Pin
jayakarthikeyan23-Mar-04 3:31
jayakarthikeyan23-Mar-04 3:31 
GeneralRe: User control automatically resized when the parent form is sized in C# Pin
Dave Kreskowiak23-Mar-04 3:55
mveDave Kreskowiak23-Mar-04 3:55 
GeneralRe: User control automatically resized when the parent form is sized in C# Pin
jayakarthikeyan26-Mar-04 2:45
jayakarthikeyan26-Mar-04 2:45 
GeneralRe: User control automatically resized when the parent form is sized in C# Pin
Heath Stewart23-Mar-04 4:17
protectorHeath Stewart23-Mar-04 4:17 
GeneralChoosing The Right Design Pattern Pin
sixefftee22-Mar-04 18:14
sixefftee22-Mar-04 18:14 
Questionaccess to Win32Native class? Pin
Ray Gregory22-Mar-04 15:48
Ray Gregory22-Mar-04 15:48 
AnswerRe: access to Win32Native class? Pin
Nick Parker22-Mar-04 17:17
protectorNick Parker22-Mar-04 17:17 
GeneralDecryption Problem Pin
terry_cyf22-Mar-04 15:15
terry_cyf22-Mar-04 15:15 
GeneralRe: Decryption Problem Pin
Mazdak22-Mar-04 23:53
Mazdak22-Mar-04 23:53 
GeneralRe: Decryption Problem Pin
terry_cyf23-Mar-04 20:42
terry_cyf23-Mar-04 20:42 
Generalbarcode Pin
tonaxxl22-Mar-04 13:56
tonaxxl22-Mar-04 13:56 
GeneralRe: barcode Pin
John Kuhn22-Mar-04 14:04
John Kuhn22-Mar-04 14:04 
GeneralMultiple message filters Pin
bisquic22-Mar-04 11:44
bisquic22-Mar-04 11:44 
GeneralRe: Multiple message filters Pin
Nick Parker22-Mar-04 16:02
protectorNick Parker22-Mar-04 16:02 
GeneralRe: Multiple message filters Pin
bisquic22-Mar-04 16:16
bisquic22-Mar-04 16:16 
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 

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.