Calling the various compilers from c #
===

This is my first question to StatskOverflow and I hope it will be useful.
I need to write an application with the following logic:
  - On the client source file is created in any programming language (let it be c#, c++ or pascal)
  - This code is sent to the server where the file extension is chosen compiler
  - The code is compiled
The application will be use  .Net, ASP.NET. Language - c#.
Actually, the problem is that I can not find a working way to run a particular compiler.
Sorry for my English)...