✅Refactor C# code
guys
my code works, but i'm doubting that i made the most performant way to do it
btw, i hate my own code, i know i can do better, but idk how
6 Replies
There are some things that could be improved, sure. For example, no need to spread the results of a split into a list, just use it as-is
No need to do the replacing of
\r\n
either, you can trim each line, with string split options
Similarly, you can ensure you only get non-empty lines
off the top of my headokay, thx
lemme try
worked, i got another bug, but that is on me lol
is there a way to work is CSV files?
so i don't need to make manually like I am doing rn
thxxx
$close
If you have no further questions, please use /close to mark the forum thread as answered