r/badcode • • Nov 26 '19

c# String Strang String Strang

Post image
776 Upvotes

54 comments sorted by

View all comments

3

u/[deleted] Nov 26 '19

I have a feeling that whoever wrote that, came from Java because there is no keyword for boolean, and it looks like a bunch of Getters and Setters.

1

u/null_reference_user Nov 26 '19

Another comment got it right, it's Java code in C#'s conventions. I was converting some Java into C# and this was just too funny and random not to post.