0

I need to generate reports in Word from my c# application. Therefore I am exploring the Interop.Word library. I am now starting to test out how it works and such. But the first thing that I was wondering about was what the difference is between the following two using statments.

The first one is just how I figured I had to include the libraries and I have seen in many examples online:

using Microsoft.Office.Interop.Word;

The other one I have found on the MDSN website, which is the following statement:

using Word = Microsoft.Office.Interop.Word;

Can anyone explain the difference and which one should I use (since they both seem to have the same result).

Marthe Veldhuis
  • 316
  • 2
  • 16

0 Answers0