Posts Tagged ‘Delimiters’

Adding and removing block delimiters in C#/C++ and JavaScript

March 12th, 2012 3 comments

In C#, C++ and JavaScript languages, curly braces are used as block delimiters. A block allows multiple statements to be written inside. If a block contains a single statement, block delimiters, in most cases, are optional. For example, a single statement inside a loop does not require block delimiters:

CodeRush Optional block delimiters sample

Read more…