Examples in tutorial uses Monaco [1] which is integrated in various Microsoft tools not only VS (Code) and also open-sourced. If you do not like it then there is i.e Ideone [2] which gives possibility to play around with C# online without tinkering with the VS installation which may be too lengthy.
The C# code is the same, what's the difference? I don't get it. I seriously don't see the difference now when I launch VS and VSCode.
The only advantage of VS is the better debugging as well as analytics (GC points, hotpaths etc.) but you don't get that in most other languages anyway so it comes as a nice bonus.
[1] https://microsoft.github.io/monaco-editor/index.html
[2] http://ideone.com/