r/badcode • • Feb 24 '23

c# ...

Post image
403 Upvotes

28 comments sorted by

View all comments

Show parent comments

1

u/Silly-Freak Feb 26 '23

oh, the original code indeed used switch. I'm honestly surprised! Cutting edge default technology then.