C
C#3d ago
swaysteady

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
Sehra
Sehra3d ago
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
swaysteady
swaysteadyOP3d ago
Awesome. thank you, @Sehra !
Sehra
Sehra3d ago
there is also immediate window which has intellisense, but the project need to be running
Thinker
Thinker3d ago
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
swaysteady
swaysteadyOP2d ago
Great leads, thank you both!
Adam Vincent
Adam Vincent2d ago
C# Online Compiler | .NET Fiddle
Test your C# code online with .NET Fiddle code editor.

Did you find this page helpful?