fuck_around/find_out - sh.itjust.works

Lemmy

Why does the bool have brackets? I haven’t really used c#, seems odd

It’s a method definition. C#'s standard formatting puts the left bracket brace of the method body on a new line. It’s equivalent to:

private bool IsSus(){ ... }
Ahhh, that makes way more sense. Thanks