r/badcode • • Nov 26 '19

c# String Strang String Strang

Post image
776 Upvotes

54 comments sorted by

View all comments

55

u/def_hass Nov 26 '19

The fact that its Java types with C# conventions just makes it better

10

u/wischichr Nov 26 '19

What do you mean with java types?

53

u/woubuc Nov 26 '19

Java uses the basic type boolean like in the image, whereas C# uses bool instead. But starting method names with a capital letter is decidedly a C# convention and is not really done in Java.