Chr*_*ith 15

您可以使用System.Windows.Forms命名空间中的Clipboard类以编程方式控制剪贴板.(默认情况下,所需的程序集将引入FSI.)

open System.Windows.Forms
Clipboard.SetText("Hello from FSI!")
Run Code Online (Sandbox Code Playgroud)