I have a code block as follows and I\'m using 3 nested using
blocks.
I found that using try finally
blocks I can avoid this but if there a
You can remove the indention and curly brackets this way:
using (var fileStream = new FileStream("ABC.pdf", FileMode.Create))
using (var document = new Document(PageSize.A4, marginLeft, marginRight, marginTop, marginBottom))
using (var pdfWriter = PdfWriter.GetInstance(document, fileStream))
{
// code
}