How do I copy the contents of a String to the clipboard in C#? [duplicate]

If I have some text in a String, how can I copy that to the clipboard so that the user can paste it into another window (for example, from my application to Notepad)?

8 Answers
8

Leave a Comment