title: How to add list of lists of string in PDF with iTextSharp?
body: <p>I have created 2D list of strings:</p>
  
  <pre><code>List&lt;List&lt;string&gt;&gt; questions = new List&lt;List&lt;string&gt;&gt;();
  </code></pre>
  
  <p>How can I add elements of this 2D list to my PDF file using iTextSharp?</p>
  
  <pre><code>if (pdfFile.ShowDialog() == System.Windows.Forms.DialogResult.OK)
  {
       Document document = new Document(iTextSharp.text.PageSize.LETTER, 20, 20, 42, 35);
       PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(pdfFile.FileName, FileMode.Create));
       document.Open();
  
       Paragraph paragraph = new Paragraph("Test");
  
       document.Add(paragraph);
  
       document.Close();
  </code></pre>
  
  <p>}</p>
  
  <p>I have tried this with simply for loop and command:<code>document.Add(questions[i]);</code>
  but it is not working.</p>