Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
AnswerRe: proggram Pin
OriginalGriff12-Jun-09 23:07
mveOriginalGriff12-Jun-09 23:07 
GeneralRe: proggram Pin
Rob Philpott12-Jun-09 23:18
Rob Philpott12-Jun-09 23:18 
GeneralRe: proggram Pin
Dave Kreskowiak13-Jun-09 2:18
mveDave Kreskowiak13-Jun-09 2:18 
GeneralRe: proggram Pin
Rajesh R Subramanian13-Jun-09 3:00
professionalRajesh R Subramanian13-Jun-09 3:00 
GeneralRe: proggram Pin
Luc Pattyn13-Jun-09 3:37
sitebuilderLuc Pattyn13-Jun-09 3:37 
GeneralRe: proggram Pin
Rajesh R Subramanian14-Jun-09 1:43
professionalRajesh R Subramanian14-Jun-09 1:43 
AnswerRe: proggram Pin
DaveyM6912-Jun-09 23:37
professionalDaveyM6912-Jun-09 23:37 
AnswerRe: proggram Pin
Rajesh R Subramanian12-Jun-09 23:47
professionalRajesh R Subramanian12-Jun-09 23:47 
QuestionHow to convert Word Doc to Image (jpg/bmp)? PinPopular
leeoze12-Jun-09 22:31
leeoze12-Jun-09 22:31 
QuestionCurrent files opened Pin
ummer2612-Jun-09 21:49
ummer2612-Jun-09 21:49 
AnswerRe: Current files opened [modified] Pin
dan!sh 12-Jun-09 22:07
professional dan!sh 12-Jun-09 22:07 
GeneralRe: Current files opened Pin
Rajesh R Subramanian12-Jun-09 22:35
professionalRajesh R Subramanian12-Jun-09 22:35 
GeneralRe: Current files opened Pin
dan!sh 12-Jun-09 22:43
professional dan!sh 12-Jun-09 22:43 
AnswerRe: Current files opened Pin
Rajesh R Subramanian12-Jun-09 22:29
professionalRajesh R Subramanian12-Jun-09 22:29 
GeneralRe: Current files opened Pin
ummer2621-Jun-09 19:17
ummer2621-Jun-09 19:17 
Question[Message Deleted] Pin
hkjghkj112-Jun-09 20:23
hkjghkj112-Jun-09 20:23 
AnswerRe: WindowsMediaPlayer Pin
Christian Graus12-Jun-09 20:46
protectorChristian Graus12-Jun-09 20:46 
General[Message Deleted] Pin
hkjghkj112-Jun-09 21:04
hkjghkj112-Jun-09 21:04 
GeneralRe: WindowsMediaPlayer Pin
Christian Graus12-Jun-09 22:21
protectorChristian Graus12-Jun-09 22:21 
QuestionPrinter Settings Pin
Kim061812-Jun-09 19:58
Kim061812-Jun-09 19:58 
AnswerRe: Printer Settings Pin
DavidKiryazi12-Jun-09 20:02
DavidKiryazi12-Jun-09 20:02 
AnswerRe: Printer Settings Pin
Dr.Walt Fair, PE12-Jun-09 20:12
professionalDr.Walt Fair, PE12-Jun-09 20:12 
QuestionDownload Speed Pin
gonzalodiaz12-Jun-09 18:51
gonzalodiaz12-Jun-09 18:51 
AnswerRe: Download Speed Pin
Luc Pattyn12-Jun-09 19:23
sitebuilderLuc Pattyn12-Jun-09 19:23 
GeneralRe: Download Speed Pin
Guffa12-Jun-09 20:08
Guffa12-Jun-09 20:08 
Also:

If you call ToString on the StringBuilder in every iteration in the loop, that will force it to allocate a new buffer and copy the data to it when you continue to add data to it. You lose any benefits of using the StringBuilder, the performance gets as bad as using += on a string. So you will have shuffled around several gigabytes of data before you are done reading the 200 kilobytes.

Despite everything, the person most likely to be fooling you next is yourself.

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.