Timeline for Writing data to CSV, checking for duplicates
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Sep 3, 2021 at 19:37 | history | edited | mdfst13 | CC BY-SA 4.0 |
added 52 characters in body; edited title
|
S Sep 3, 2021 at 19:37 | history | suggested | Jeremy Caney | CC BY-SA 4.0 |
Shortened title. Reduced indentation of code. Applied consistent capitalization. Formatted flow as bullets for readability.
|
Sep 3, 2021 at 19:07 | review | Suggested edits | |||
S Sep 3, 2021 at 19:37 | |||||
Sep 3, 2021 at 18:20 | vote | accept | theonetrue2 | ||
Sep 3, 2021 at 17:26 | answer | added | Michael Rieger | timeline score: 3 | |
Sep 3, 2021 at 11:47 | comment | added | Alexey Nis | Why you store usernames in the list? In your code you just check on this list if the user is exists. You do work twice. Better just read the username form the file and check if current username exists. No need to open stream writer when user exists because it is pointless operation. | |
Sep 3, 2021 at 9:50 | comment | added | Peter Csala |
BTW using blocks will take care of the Close method calls, you don't have to call sr.Close and sw.Close explicitly.
|
|
Sep 3, 2021 at 9:48 | comment | added | Peter Csala | This question has nothing to do with OOP. You have a single function which utilizes built-in classes and functionalities. | |
Sep 3, 2021 at 9:20 | history | asked | theonetrue2 | CC BY-SA 4.0 |