Single statement across multiple lines in VB.NET without the underscore character

后端 未结 8 545
死守一世寂寞
死守一世寂寞 2020-12-09 07:42

Is there a way to have a statement across multiple lines without the underscore character?

It is really annoying in multi-line strings such as SQL statements, and es

8条回答
  •  轮回少年
    2020-12-09 08:13

    I know that this has an accepted answer, but it is the top article I found when searching for this question, and it is very out of date now. I did a little more research, and this MSDN article contains a list of syntax elements that implicitly continue the statement on the next line of code for VB.Net 2010.

提交回复
热议问题