Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
GeneralRe: StringBuilder Pin
Scott Dorman22-Aug-07 8:01
professionalScott Dorman22-Aug-07 8:01 
GeneralRe: StringBuilder Pin
PIEBALDconsult22-Aug-07 8:05
mvePIEBALDconsult22-Aug-07 8:05 
GeneralRe: StringBuilder Pin
Scott Dorman22-Aug-07 8:13
professionalScott Dorman22-Aug-07 8:13 
GeneralRe: StringBuilder Pin
PIEBALDconsult22-Aug-07 9:08
mvePIEBALDconsult22-Aug-07 9:08 
GeneralRe: StringBuilder Pin
Giorgi Dalakishvili22-Aug-07 9:23
mentorGiorgi Dalakishvili22-Aug-07 9:23 
GeneralRe: StringBuilder Pin
PIEBALDconsult22-Aug-07 10:00
mvePIEBALDconsult22-Aug-07 10:00 
GeneralRe: StringBuilder Pin
Luc Pattyn22-Aug-07 13:21
sitebuilderLuc Pattyn22-Aug-07 13:21 
GeneralRe: StringBuilder Pin
PIEBALDconsult22-Aug-07 14:43
mvePIEBALDconsult22-Aug-07 14:43 
Luc Pattyn wrote:
I would not be surprised if a new SB is actually faster than Remove+Append.


Great, something else to try out. But I've got to believe a Clear(), which may simply set the Length...... Holy F-ing Dung! Length is not read-only!? Glory Hallelujah! Did no one else know this? Keeping it a secret? Ha ha! PIEBALD didn't RTFM?! Is that it? Well, I found out your little secret, there's no stopping me now!


It does seem to violate something though, Length is read-only for most objects.


Luc Pattyn wrote:
And I have the impression you would like to have File.ReadLineToStringBuilder()


I could write a library function that reads the file character-by-character to simulate that, and I may still do so.


As the program stands, I compare the raw line with the resultant line to report which lines were modified, but that'll likely go away.
GeneralRe: StringBuilder Pin
Luc Pattyn22-Aug-07 14:55
sitebuilderLuc Pattyn22-Aug-07 14:55 
GeneralRe: StringBuilder Pin
PIEBALDconsult22-Aug-07 17:57
mvePIEBALDconsult22-Aug-07 17:57 
QuestionRecording movement on a GUI of an application Pin
thedavejay22-Aug-07 6:27
thedavejay22-Aug-07 6:27 
AnswerRe: Recording movement on a GUI of an application Pin
Ravi Bhavnani22-Aug-07 10:46
professionalRavi Bhavnani22-Aug-07 10:46 
GeneralRe: Recording movement on a GUI of an application Pin
thedavejay23-Aug-07 6:32
thedavejay23-Aug-07 6:32 
QuestionDatagrid Pin
Brother Louis22-Aug-07 6:08
Brother Louis22-Aug-07 6:08 
Questionfrom CheckedListBox to DataGrid Pin
costavo22-Aug-07 4:55
costavo22-Aug-07 4:55 
AnswerRe: from CheckedListBox to DataGrid Pin
Vasudevan Deepak Kumar22-Aug-07 4:57
Vasudevan Deepak Kumar22-Aug-07 4:57 
GeneralRe: from CheckedListBox to DataGrid Pin
costavo22-Aug-07 6:10
costavo22-Aug-07 6:10 
QuestionDatagrid Pin
Brother Louis22-Aug-07 4:53
Brother Louis22-Aug-07 4:53 
AnswerRe: Datagrid Pin
Vasudevan Deepak Kumar22-Aug-07 4:55
Vasudevan Deepak Kumar22-Aug-07 4:55 
GeneralRe: Datagrid Pin
Brother Louis22-Aug-07 5:03
Brother Louis22-Aug-07 5:03 
QuestionUsing FileStream Pin
gauthee22-Aug-07 4:48
gauthee22-Aug-07 4:48 
AnswerRe: Using FileStream Pin
Vasudevan Deepak Kumar22-Aug-07 4:57
Vasudevan Deepak Kumar22-Aug-07 4:57 
GeneralRe: Using FileStream Pin
gauthee22-Aug-07 5:05
gauthee22-Aug-07 5:05 
GeneralRe: Using FileStream Pin
Luc Pattyn22-Aug-07 5:29
sitebuilderLuc Pattyn22-Aug-07 5:29 
AnswerRe: Using FileStream Pin
Tim Wuytens23-Aug-07 0:23
Tim Wuytens23-Aug-07 0:23 

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.