How to copy to the clipboard in F#?
And more specific开发者_开发知识库ally, in FSI
?
You can programatically control the clipboard using the Clipboard class in the System.Windows.Forms
namespace. (The required assembly is brought in by default to FSI.)
open System.Windows.Forms
Clipboard.SetText("Hello from FSI!")
精彩评论