rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
19 stars 0 forks source link

Consider adding sharplab.io as a web editor #646

Closed rbwhitaker closed 1 year ago

rbwhitaker commented 2 years ago

I've been looking for half-decent web-based C# editors to recommend to people who don't want to download all the things. sharplab.io could be a good one. However, it does not work exactly as expected. For example, it needs using System;, which... makes a certain amount of sense, since maybe the way it is set up does not have the automatic implicit using directives. But that means the raw code from the book won't just work.

rbwhitaker commented 1 year ago

sharplab.io does not allow you to run code (that I could see). However, its ability to show you how your code compiles, both in CIL and x64/x86/ARM/etc., gets it on the list. This does not affect the book at all, since it was an update (that is now live) on the website.