Click here to Skip to main content
15,567,221 members
Home / Discussions / C#
   

C#

 
GeneralRe: Please help Pin
I Believe In GOD31-May-09 2:54
I Believe In GOD31-May-09 2:54 
Questionservice of Events in C# [modified] Pin
arturw8230-May-09 2:40
arturw8230-May-09 2:40 
AnswerRe: service of Events in C# Pin
Moreno Airoldi30-May-09 8:15
professionalMoreno Airoldi30-May-09 8:15 
Questionwrong behaviour of Text Reader Pin
vishal moharikar30-May-09 2:03
vishal moharikar30-May-09 2:03 
AnswerRe: wrong behaviour of Text Reader Pin
Apocwhen30-May-09 2:49
Apocwhen30-May-09 2:49 
GeneralRe: wrong behaviour of Text Reader Pin
vishal moharikar31-May-09 19:16
vishal moharikar31-May-09 19:16 
AnswerRe: wrong behaviour of Text Reader Pin
Moreno Airoldi30-May-09 8:21
professionalMoreno Airoldi30-May-09 8:21 
GeneralRe: wrong behaviour of Text Reader Pin
Luc Pattyn30-May-09 8:32
sitebuilderLuc Pattyn30-May-09 8:32 
You are right, however this isn't optimal either. Since you can easily get the file size, you should create the SB with an initial capacity equal to say 1.5 times that (allowing for the NewLines), so it never has to extend itself (which causes all data to be copied).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

AnswerRe: wrong behaviour of Text Reader Pin
Luc Pattyn30-May-09 8:38
sitebuilderLuc Pattyn30-May-09 8:38 
AnswerRe: wrong behaviour of Text Reader Pin
Joe Woodbury31-May-09 17:25
professionalJoe Woodbury31-May-09 17:25 
QuestionTabControl "vertical" AutoScroll Pin
netogg30-May-09 1:38
netogg30-May-09 1:38 
AnswerRe: TabControl "vertical" AutoScroll Pin
Satish Pai30-May-09 2:13
Satish Pai30-May-09 2:13 
GeneralRe: TabControl "vertical" AutoScroll Pin
netogg30-May-09 2:27
netogg30-May-09 2:27 
GeneralRe: TabControl "vertical" AutoScroll Pin
Satish Pai30-May-09 3:27
Satish Pai30-May-09 3:27 
GeneralRe: TabControl "vertical" AutoScroll Pin
Satish Pai30-May-09 3:50
Satish Pai30-May-09 3:50 
GeneralRe: TabControl "vertical" AutoScroll Pin
netogg30-May-09 14:58
netogg30-May-09 14:58 
Questiondownloading pdf on a desktop folder Pin
tauras8130-May-09 0:59
tauras8130-May-09 0:59 
AnswerRe: downloading pdf on a desktop folder Pin
Rajesh R Subramanian30-May-09 1:11
professionalRajesh R Subramanian30-May-09 1:11 
AnswerRe: downloading pdf on a desktop folder Pin
Henry Minute30-May-09 1:12
Henry Minute30-May-09 1:12 
QuestionHow to attach a new process with existing process Pin
Jacobb Michael30-May-09 0:50
Jacobb Michael30-May-09 0:50 
AnswerRe: How to attach a new process with existing process Pin
Rajesh R Subramanian30-May-09 1:13
professionalRajesh R Subramanian30-May-09 1:13 
AnswerRe: How to attach a new process with existing process Pin
Anubhava Dimri30-May-09 1:27
Anubhava Dimri30-May-09 1:27 
GeneralRe: How to attach a new process with existing process Pin
Jacobb Michael31-May-09 19:34
Jacobb Michael31-May-09 19:34 
AnswerRe: How to attach a new process with existing process Pin
SimpleData30-May-09 2:38
SimpleData30-May-09 2:38 
Questionto store datareader values in array Pin
priya1515s30-May-09 0:45
priya1515s30-May-09 0:45 

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.