First, create a new console project using Visual Studio and add the following .dlls to your project:
DocumentFormat.OpenXml
WindowsBase
Next, compile and execute the following code:
static void Main(string[] args)
{
// Create a Wordprocessing document.
using ( WordprocessingDocumen...