How to eliminate warning about ambiguity?
Explicitly cast the reference to the type _Application
:
((_Application)wordApplication).Quit();
Explicitly cast the reference to the type _Application
:
((_Application)wordApplication).Quit();