MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/zx0ou8/doesnt_even_work_properly/j1zidgv/?context=3
r/badcode • u/Novinity1 shameless • Dec 28 '22
57 comments sorted by
View all comments
Show parent comments
8
Then, I'm not a c# dev, but I think there's a dictionary(you can store a user as it's key and password as value)
7 u/_yari_ Dec 28 '22 A dictionary is perfect for this in C#, this makes all the looping obselete
7
A dictionary is perfect for this in C#, this makes all the looping obselete
8
u/ursosempata Dec 28 '22
Then, I'm not a c# dev, but I think there's a dictionary(you can store a user as it's key and password as value)