Click here to Skip to main content
15,793,018 members
Home / Discussions / C#
   

C#

 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 22:14
mveRichard Deeming16-Aug-23 22:14 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
chris_brabant16-Aug-23 22:33
chris_brabant16-Aug-23 22:33 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 22:52
mveRichard Deeming16-Aug-23 22:52 
Questionhow to edit and delete lines from a text file Pin
Edilson Lemos 202112-Aug-23 13:36
Edilson Lemos 202112-Aug-23 13:36 
AnswerRe: how to edit and delete lines from a text file Pin
OriginalGriff12-Aug-23 20:01
mvaOriginalGriff12-Aug-23 20:01 
GeneralRe: how to edit and delete lines from a text file Pin
Edilson Lemos 202113-Aug-23 12:15
Edilson Lemos 202113-Aug-23 12:15 
GeneralRe: how to edit and delete lines from a text file Pin
OriginalGriff13-Aug-23 20:08
mvaOriginalGriff13-Aug-23 20:08 
AnswerRe: how to edit and delete lines from a text file Pin
Gerry Schmitz13-Aug-23 6:53
mveGerry Schmitz13-Aug-23 6:53 
You need to be more clear about this "one line" you need to edit / delete. Where is it? Front. End. Middle? How do you identify it? Is there a key?

Yes, you can "change" text files. And, yes, text files can be used as a "backing store"; e.g. serializing and deserializing objects to XML, for example. The old "ini files" were all text files.

However, one usually "stages" the text file as a "string list" or perhaps a dictionary, updates it in there, then "serializes" it to a text file for saving ... using the users' local or "roaming" storage.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

AnswerRe: how to edit and delete lines from a text file Pin
jschell14-Aug-23 7:07
jschell14-Aug-23 7:07 
Questionthen the new student submits their answer to ... Pin
BillWoodruff8-Aug-23 5:23
professionalBillWoodruff8-Aug-23 5:23 
AnswerRe: then the new student submits their answer to ... Pin
Pete O'Hanlon8-Aug-23 20:33
subeditorPete O'Hanlon8-Aug-23 20:33 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 1:36
professionalBillWoodruff10-Aug-23 1:36 
GeneralRe: then the new student submits their answer to ... Pin
Pete O'Hanlon10-Aug-23 4:29
subeditorPete O'Hanlon10-Aug-23 4:29 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 3:09
professionalBillWoodruff10-Aug-23 3:09 
GeneralRe: then the new student submits their answer to ... Pin
Richard MacCutchan10-Aug-23 3:26
mveRichard MacCutchan10-Aug-23 3:26 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming10-Aug-23 3:42
mveRichard Deeming10-Aug-23 3:42 
GeneralRe: then the new student submits their answer to ... Pin
BillWoodruff10-Aug-23 13:38
professionalBillWoodruff10-Aug-23 13:38 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming10-Aug-23 22:27
mveRichard Deeming10-Aug-23 22:27 
GeneralRe: then the new student submits their answer to ... Pin
Richard Deeming11-Aug-23 0:27
mveRichard Deeming11-Aug-23 0:27 
GeneralRe: then the new student submits their answer to ... Pin
Sandeep Mewara12-Aug-23 18:26
mveSandeep Mewara12-Aug-23 18:26 
QuestionCount DataGridview row values and compare with an Array (Resolved) Pin
Edilson Lemos 20217-Aug-23 15:21
Edilson Lemos 20217-Aug-23 15:21 
AnswerRe: Count DataGridview row values and compare with an Array Pin
OriginalGriff7-Aug-23 20:56
mvaOriginalGriff7-Aug-23 20:56 
AnswerRe: Count DataGridview row values and compare with an Array Pin
Andre Oosthuizen7-Aug-23 23:46
mveAndre Oosthuizen7-Aug-23 23:46 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Edilson Lemos 20219-Aug-23 15:00
Edilson Lemos 20219-Aug-23 15:00 
GeneralRe: Count DataGridview row values and compare with an Array Pin
Andre Oosthuizen9-Aug-23 22:24
mveAndre Oosthuizen9-Aug-23 22:24 

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.