Bringing "surround with" functionality to vscode. Check out this extension.
Quick overview of surround-with-csharp vscode extension.
I would like to share with you something fun. The right way to write interactive documentation - Try .NET. It is an awesome project maintained by Microsoft. It allows you to embed C# code inside your markdown documentation and run it locally. The absolute best way to learn it is to use it. So I encourage you to fork https://github.com/NikiforovAll/intro-to-algorithms and play with it.