📜  c# 将字符串放到剪贴板 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:08.610000             🧑  作者: Mango

代码示例1
using System.Windows.Forms; //required

Clipboard.SetText("your string");

//FOR .NET CORE
Install-Package TextCopy

TextCopy.ClipboardService.SetText("Text to place in clipboard");