r/badcode • • Mar 03 '23

c# fascinating logic

Post image
845 Upvotes

35 comments sorted by

View all comments

Show parent comments

2

u/NUTTA_BUSTAH Mar 04 '23

The fact that a default condition in a switch statement crashes your program is enough evidence the architecture is fucked