On Windows, I use a reference to System.Windows.Forms to write text to the clipboard in my Console apps. Additionally, I add a [STAThread] attribute before the main program. Since C# Shell does not support Windows Forms (even though it's for a console app), what is the recommended way to write text to the clipboard using C# Shell? Thank you.
On Windows, I use a reference to System.Windows.Forms to write text to the clipboard in my Console apps. Additionally, I add a [STAThread] attribute before the main program. Since C# Shell does not support Windows Forms (even though it's for a console app), what is the recommended way to write text to the clipboard using C# Shell? Thank you.