title: Do I have to close Word Interop Application?
body: <p>I'm using the following code:</p>
  
  <pre><code>using MSWord = Microsoft.Office.Interop.Word;
  
  .
  .
  .
  
  MSWord.Application wordApp = new MSWord.Application();
  
  MSWord.Document wordDoc = new MSWord.Document();
  
  wordDoc = wordApp.Documents.Add(Template: oTemplatePath);
  
  //do something with the Document... replace fields and so on...
  
  wordApp.Visible = true;
  </code></pre>
  
  <p>the function then exits and my app is closing down, for example. 
  Now the user can edit the open document, and save it or just close it.</p>
  
  <p>Do I have to close the Application-Object (in terms of COM-Objects and so on) programmatically??? Or does this the Garbage collector?</p>