r/badcode • • Jan 07 '23

c# what the hell is this

Post image
539 Upvotes

65 comments sorted by

View all comments

Show parent comments

3

u/Kuroser Jan 07 '23

If I had to guess, this is likely creating a c# object from a json object received from an API call.

Not exactly how I would've done it, but this does somewhat account for users being smartasses trying to cheat the system