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

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'