控制台应用, 代码如下: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Reflection; using Microsoft.Office.Interop.Word; using Micr…