Check out RoslynPad, an open-source, cross-platform C# scratchpad I created using Roslyn and AvalonEdit with full IntelliSense and NuGet support.