Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am forced to learn and practice C#, is there any applications that support and can be used to write programs in C#?

share|improve this question
7  
What have you tried? Using a simple Google combination of keywords C# Ubuntu reveals the answer already. –  gertvdijk Dec 28 '12 at 14:12
    
fine i will vote to delete this question –  AmirRazoR Dec 28 '12 at 14:21
3  
Just from experience here - it is likely that your college course is going to assume you are on windows, and will likely use several windows only features in C# that don't always correlate to mono very well, such as winforms (although I think mono may have since implemented winforms, but I'm not sure). You may run into issues. –  Drake Clarris Dec 28 '12 at 15:17
    
well, since the day i started using ubuntu i didn't go to windows a single time. but i will keep this advice on my mind. –  AmirRazoR Dec 28 '12 at 15:49
2  
@AmirRazoR The mono runtime does support Windows Forms. However, I am not aware of any integrated development environments in Ubuntu that support creating them visually. If your class is on the C# language, I'd guess it won't cover Windows Forms, but it might. If you do find you must use a Windows operating system, you might consider running Windows in a virtual machine on an Ubuntu system. Virtualizing Windows does require that you have a copy, though. (Or, if you need better graphics acceleration than a virtual machine would provide, you could run Ubuntu in a virtual machine on Windows.) –  Eliah Kagan Dec 28 '12 at 16:39
show 1 more comment

2 Answers

up vote 12 down vote accepted

Yes you can use mono

For a nice IDE to work in try monodevelop

sudo apt-get install monodevelop

This will also pull in all the necessary runtimes needed.

share|improve this answer
add comment

What you are looking for is Mono, which is, quoting from the project's website:

An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET

Mono also comes with an Integrated Development Environment (IDE): MonoDevelop. Both softwares are packaged for Ubuntu.

Mono

Install via the software center

MonoDevelop

Install via the software center

This last package depends on the first one. Installing this package will automatically install the other.

share|improve this answer
    
i am installing Monodevelop right now, would this also install Mono, or i should run a specific command to install it? –  AmirRazoR Dec 28 '12 at 14:27
    
@AmirRazoR: yes, it would install Mono. I've also updated my answer to add this information. –  Andrea Corbellini Dec 28 '12 at 14:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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