tags:

views:

506

answers:

2

Hi All,

I'm looking to spend a bit of my lunch break each day teaching myself some C#. I have access to some books on the subject via my employer-paid Books24x7 subscription, but I have no way of running code while I'm at work.

My work PC is rather locked down (no admin privileges, read-only "Program Files" - though install to a desktop-based folder is possible, and USB thumbdrives are forbidden..), so I'm looking for another way to compile some code.

Can anyone point to: * A web-based compiler (binary download from a known-good site, or possibly a web-based CLI to interact with non-GUI apps) * A standalone compiler requiring no-install * A compiler which does not require admin right to install.

Thanks!


[Edit 1]
I suppose another reason why I mentioned the web-based compiler first was that I'm not sure which version(s) of the .Net framework might be installed on my work machine. We do absolutely no .Net work on my project so there's no reason to believe there's anything more than what came with XP. If there's a way to install the latest version without admin privileges, I'd love to hear it!

+4  A: 

If you have the .Net Framework installed on your computer, then you should already have a compiler.

It will be in C:\Windows\Microsoft.NET\Framework[VERSION]\

It's called csc.exe.

This should work without any administrator priviledges.

Jeffrey L Whitledge
+2  A: 

If you have a flash drive, put snippet compiler it works decent. http://www.sliver.com/dotnet/SnippetCompiler/