I have documents that are generated with OpenXML. I am working on reducing the amount of code required to generate the document.
I have a document section that has 7 paragraphs in it. Currently I insert them with:
var paragraph = new Paragraph {};
body.Append(paragraph);`
So my question is, is there a better way to insert multiple paragraphs without inserting the above code 7 times?