Thursday, 15 August 2013

why ";;;;;" doesn't throw error while compilation [duplicate]

why ";;;;;" doesn't throw error while compilation [duplicate]

This question already has an answer here:
What does an "empty line with semicolon" mean in C#? 1 answer
Just wondering why several ";;" in a c# statement doesn't throw error
while compilation, e.g.
string todayDate = DateTime.Now.ToString(); ;;;;; ;

No comments:

Post a Comment