|
-
April 2nd, 2012, 07:24 PM
#1
was c sharp made for linux?
Are you able to do more with c sharp in visual studio, then with anything you could do in linux? Can you do more then just console programming on linux, or would linux not be able to as much as visual studio?
-
April 2nd, 2012, 07:41 PM
#2
Re: was c sharp made for linux?
You can do quite a lot on linux - C# programs require the Common Language Runtime (CLR) to run; on Windows, it comes with the .NET Framework, and on linux it is provieded via an open source project called Mono (actually, mono is cross-platform). You can use MonoDevelop to write .NET applications, in several languages (but primarily C#) - you can download it for free, and since it's also an open-source project, you can even download the source code.
It supports features up to C# 3.0 (which is most of the fancy stuff that you can do in C# - including LINQ).
I haven't tried it myself, but people who use it appear to be quite satisfied.
Last edited by TheGreatCthulhu; April 2nd, 2012 at 07:44 PM.
-
April 2nd, 2012, 07:52 PM
#3
Re: was c sharp made for linux?
Additional details: apparently, although Mono supports Windows Forms, MonoDevelop doesn't have a working WinForms designer, so for you would have to create them manually; however, you can create cross-platform windowed applications using GTK#, which is supported by MonoDevelop's GTK# designer.
I don't know about WPF.
-
April 3rd, 2012, 05:40 AM
#4
Re: was c sharp made for linux?
www.monotorrent.com For all your .NET bittorrent needs
NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.
-
April 3rd, 2012, 08:02 AM
#5
Re: was c sharp made for linux?
Cool.
-
April 4th, 2012, 01:00 PM
#6
Re: was c sharp made for linux?
Sorry to hack your topic, but I have a related question.
Is there another framework for C# but .NET or MONO?
I mean, after all, C# is just a language (a great language), so isn't there any C# programming tool that doesn't rely on .NET and compiles the code directly to the 'exe', without the need of CLR or anything like that.
I think it can be done (if the C# compiler compiles the code into C++ code and then let a C++ compiler compile that code ), but does it exists?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|