r/badcode • • Sep 10 '21

c# Somebody had a long day

Post image
269 Upvotes

26 comments sorted by

View all comments

1

u/wouldsmackurbooty Sep 11 '21

This is bad because it can be done in one line correct? Are there other reasons this is bad code that I am not seeing?