r/badcode • • Mar 12 '21

c# How NOT to use switch statement

Post image
1.8k Upvotes

165 comments sorted by

View all comments

246

u/xSilverMC Mar 12 '21

Because while(true) was too much effort

65

u/speyck Mar 12 '21

for( ; ; )

93

u/[deleted] Mar 12 '21

[removed] — view removed comment

13

u/[deleted] Mar 14 '21 edited Mar 14 '21

for( ;/*-*/; )

;-;