C# fiddle space in Visual Studio
Hey all. I vaguely remember seeing a fiddle space in Visual Studio but I can't remember where. By fiddle space I mean something akin to jsfiddle or codepen.io where I could just mess with C# code without the formality of starting a whole project. If I'm not hallucinating, can someone tell me what that view is called so I can go look up how to get to it?
I know I could just use Linqpad but I like Visual Studio's intellisense.
6 Replies
there is c# interactive in visual studio. otherwise if you want intellisense you could try netpad as alternative to linqpad
or buy a linqpad license, it's worth it
Awesome. thank you, @Sehra !
there is also immediate window which has intellisense, but the project need to be running
You could also check out CSharpRepl, which is as the name suggests a repl, but it has intellisense and is pretty useful for just testing stuff
Oh and RoslynPad also exists as a free and open-source alternative to LinqPad
Great leads, thank you both!
C# Online Compiler | .NET Fiddle
Test your C# code online with .NET Fiddle code editor.