Click here to Skip to main content
15,901,205 members
Home / Discussions / C#
   

C#

 
GeneralRe: Listview format problem - need help! Pin
Christian Graus22-Jan-06 15:46
protectorChristian Graus22-Jan-06 15:46 
GeneralRe: Listview format problem - need help! Pin
OnlyTaz22-Jan-06 15:56
OnlyTaz22-Jan-06 15:56 
GeneralRe: Listview format problem - need help! Pin
Christian Graus22-Jan-06 15:59
protectorChristian Graus22-Jan-06 15:59 
GeneralRe: Listview format problem - need help! Pin
OnlyTaz22-Jan-06 16:05
OnlyTaz22-Jan-06 16:05 
GeneralRe: Listview format problem - need help! Pin
OnlyTaz22-Jan-06 16:13
OnlyTaz22-Jan-06 16:13 
GeneralRe: Listview format problem - need help! Pin
Christian Graus22-Jan-06 16:14
protectorChristian Graus22-Jan-06 16:14 
GeneralRe: Listview format problem - need help! Pin
OnlyTaz22-Jan-06 16:40
OnlyTaz22-Jan-06 16:40 
GeneralRe: Listview format problem - need help! Pin
Christian Graus22-Jan-06 16:42
protectorChristian Graus22-Jan-06 16:42 
GeneralRe: Listview format problem - need help! Pin
OnlyTaz22-Jan-06 16:50
OnlyTaz22-Jan-06 16:50 
GeneralRe: Listview format problem - need help! Pin
Vikram A Punathambekar22-Jan-06 21:29
Vikram A Punathambekar22-Jan-06 21:29 
QuestionDotnet Framework V2 : serialport class ? Pin
youssef22-Jan-06 13:10
youssef22-Jan-06 13:10 
Questionspeech recogntion Pin
mahmoud_sam22-Jan-06 12:56
mahmoud_sam22-Jan-06 12:56 
AnswerRe: speech recogntion Pin
ekynox22-Jan-06 13:16
ekynox22-Jan-06 13:16 
GeneralRe: speech recogntion Pin
Christian Graus22-Jan-06 14:47
protectorChristian Graus22-Jan-06 14:47 
GeneralRe: speech recogntion Pin
Colin Angus Mackay22-Jan-06 20:44
Colin Angus Mackay22-Jan-06 20:44 
GeneralRe: speech recogntion Pin
ekynox23-Jan-06 0:48
ekynox23-Jan-06 0:48 
GeneralRe: speech recogntion Pin
Colin Angus Mackay23-Jan-06 0:57
Colin Angus Mackay23-Jan-06 0:57 
GeneralRe: speech recogntion Pin
mahmoud_sam23-Jan-06 22:31
mahmoud_sam23-Jan-06 22:31 
GeneralRe: speech recogntion Pin
mahmoud_sam23-Jan-06 22:25
mahmoud_sam23-Jan-06 22:25 
QuestionHashtable memory use Pin
theanton22-Jan-06 12:25
theanton22-Jan-06 12:25 
QuestionStreamReader/Writer speed Pin
User 665822-Jan-06 11:55
User 665822-Jan-06 11:55 
AnswerRe: StreamReader/Writer speed Pin
Christian Graus22-Jan-06 12:18
protectorChristian Graus22-Jan-06 12:18 
First of all, unstead of \r\n, use Environment.NewLine. Then, a stringbuilder gets created before the loop, you add your strings in the loop ( but add the newline on a seperate line, or you're still concatenating strings as you go ). Then use the ToString method to get your string at the end.

The calls to Flush are also expensive and unnecessary, flush once at the end if you need to.


Christian Graus - Microsoft MVP - C++
GeneralRe: StreamReader/Writer speed Pin
User 665822-Jan-06 12:27
User 665822-Jan-06 12:27 
GeneralRe: StreamReader/Writer speed Pin
Christian Graus22-Jan-06 12:30
protectorChristian Graus22-Jan-06 12:30 
GeneralRe: StreamReader/Writer speed Pin
User 665822-Jan-06 12:33
User 665822-Jan-06 12:33 

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.