Pasting code into WordPress easily?

I would be very grateful for any advice on how to paste code from Visual Studio into a WordPress post.  I have never found a plug-in or cut-and-paste pipeline that worked well for me.