CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Posts
    1

    Talking 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?

  2. #2
    Join Date
    Jan 2010
    Posts
    1,133

    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.

  3. #3
    Join Date
    Jan 2010
    Posts
    1,133

    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.

  4. #4
    Join Date
    May 2007
    Posts
    1,546

    Re: was c sharp made for linux?

    Mono supports everything up to C# 5 actually

    http://www.infoq.com/news/2011/10/Mo...E13A44065FC8B7
    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.

  5. #5
    Join Date
    Jan 2010
    Posts
    1,133

    Re: was c sharp made for linux?

    Cool.

  6. #6
    Join Date
    Apr 2012
    Posts
    2

    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
  •  





Click Here to Expand Forum to Full Width

Featured