Does C# allow double semicolon ; ; if so, are there any special ways?

后端 未结 7 1653
盖世英雄少女心
盖世英雄少女心 2020-11-29 12:18

I am writing a statement and it compiles, but the compiler [VS] never tells me that I put the semicolon two times.

This means in ASP.NET MVC 3

return         


        
相关标签:
7条回答
  • 2020-11-29 12:54

    There is a difference between "no reason to use them" and "invalid to use them". Why should the language waste time and effort prohibiting you from doing this, when it's harmless?

    0 讨论(0)
提交回复
热议问题