0

C# when you miss a semicolon

Comments
  • 3
    downvoted.
    Reason: wrong decade.
  • 2
    I have never ever had any problem with missing ; in C#.

    All editors highlight it directly.

    The only case where I could imagine it being a problem is if you intended to write an empty loop that uses side effects of the looping condition to do the work and the missing ; causes the next statement to be the loop body.

    But that is a pretty bad way to write a program anyway ;)
  • 1
    @Voxera @lazyDev

    Oof, was more taking a jab at the editor warning me about it in a joking way to be honest, I am not saying this is bad or anything just thought it was funny.

    But I see how it can be taken in the wrong.
Add Comment