r/badcode • • Nov 26 '19

c# String Strang String Strang

Post image
776 Upvotes

54 comments sorted by

View all comments

29

u/Flamme2 Nov 26 '19

C#? I don’t think boolean is a valid type in c#. I think it is in Java though

1

u/[deleted] Nov 26 '19

I think Boolean will work as a class name, like how int can be Int32 and string can be String. I dont have a terminal around right now though.

Edit: and it has to be capitalized, so this is java that looks like c#