Why does this compile


i curios find out why compiles

string test = "test";;;;;


a semi-colon empty statement.

c# (and c++, java, , languages) don't care white space compiler reads assignment string followed 4 empty statements.


convert between vb, c#, c++, & java (http://www.tangiblesoftwaresolutions.com)
instant c# - vb c# converter
instant vb - c# vb converter



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user