static void Main(string[] args) { WPData newData = new WPData(); Console.Write(newData.GetDocument()); Console.ReadKey(); }