9

Think JSFiddle. LINQPad is pretty sweet for fast C# with similar options. Is there anything like LINQPad that runs in a browser?

1
  • 5
    ideone.com has an online C# setting that uses the Mono compiler, but it doesn't have a lot of the bells and whistles.
    – jonsca
    Dec 4, 2011 at 4:58

3 Answers 3

11

You could try www.compilr.com. According to their website, Compilr is an online IDE, allowing you to write and compile code for a variety of platforms from any major web browser.

I've tried it out, it works fairly well. It supports C#, Ruby, C, Java and others.

1
  • 1
    FYI: compilr.com has been aquired by lynda.com and, consequently, shut down their services. Aug 15, 2015 at 13:15
4

Run Code is a very lightweight alternative that should work in any browser.

It does not require an account like compilr and the interface is even more slimmed down than ideone.

3
  • 3
    Single line answer are generally frowned upon here on stack exchange. Could you expand your answer with why you think this option is a better fit than the other answers here?
    – Mark Booth
    Mar 1, 2013 at 10:29
  • @Mark_Booth Do you have any reference for the general frowning upon one-liners? The only related information I could find was meta.programmers.stackexchange.com/questions/3472/… , which seems to disagree. Nevertheless, a comparison is of course a good idea; I added some info regarding that.
    – HugoRune
    Mar 1, 2013 at 13:27
  • It's in the FAQ for every stack exchange site. One line answers are often barely more than a link to an external site, which makes them candidates for deletion. Your answer appeared in my review stream for low quality posts saying "This answer was automatically flagged as low-quality because of its length and content.". Although I thought it had useful information (so didn't want to recommend deletion) I did think it needed improvement, hence my comment.
    – Mark Booth
    Mar 1, 2013 at 19:13
2

I don't know of anything like that, but the reason JSFiddle is practical is because the code is run natively on the browser, not the server. In order to do something similar for C# code, you would most likely need to do so on the server or use a browser plugin.

A plugin solution would defeat the purpose of even being browser-based because it would require an installation and limit the platforms it can run on. A server-based solution would have many inherent risks unless it were heavily sandboxed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.