C
C#15mo ago
MelodicMantis

❔ it won't work, can someone help me?

No description
6 Replies
Thinker
Thinker15mo ago
You're missing braces
MelodicMantis
MelodicMantisOP15mo ago
where
Thinker
Thinker15mo ago
Blocks in C# use {} to denote scope
if (boy > girl)
{
// ...
}
if (boy > girl)
{
// ...
}
MelodicMantis
MelodicMantisOP15mo ago
wait ill try okay thanks worked
Jester
Jester15mo ago
you only dont need {} for the first line after an if statement but you should always use them to avoid mistakes
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server