I was browsing a coworkers c# code today and found the following:
using (MemoryStream data1 = new MemoryStream()) using (MemoryStream data2 = new MemoryS
If there is only one instruction which follow the statement, the bracets are not needed. It is just like with if statement.
if
if(true) { Console.Writeline("hello") }
means the same that
if(true) Console.Writeline("hello")