Sjmarf to Programmer [email protected] • 2 days agofuck_around/find_outsh.itjust.worksimagemessage-square106fedilinkarrow-up1934arrow-down142
arrow-up1892arrow-down1imagefuck_around/find_outsh.itjust.worksSjmarf to Programmer [email protected] • 2 days agomessage-square106fedilink
minus-square@Whelks_chancelink3•2 days agoWhy does the bool have brackets? I haven’t really used c#, seems odd
minus-square@rtxnlink12•edit-22 days agoIt’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(){ ... }
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
bracketbrace of the method body on a new line. It’s equivalent to:private bool IsSus(){ ... }
Ahhh, that makes way more sense. Thanks