I was browsing a coworkers c# code today and found the following:
using (MemoryStream data1 = new MemoryStream()) using (MemoryStream data2 = new MemoryS
The same rules apply when you omit the curly braces in a for or an if statement.
for
if
Incidentally if you reflect into the compiled code, the compiler decompiler adds the braces.