Search Unity

Version of C# and Mono?

Discussion in 'Scripting' started by bronxbomber92, Aug 23, 2007.

  1. bronxbomber92

    bronxbomber92

    Joined:
    Nov 11, 2006
    Posts:
    888
    What versions of Mono and C# does Unity use? Does Unity use Mono 2.0 and C# 2.0? Also, will this all change with Unity 2.0?
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Unity 1.6.2 uses Mono 1.2, and .NET 2.0 is not available there (.NET 1.1 is used).

    In Unity 2.0 we'll use more recent Mono version, and (I wonder if I can reveal any details...), um, yeah, there will be some upgrades to .NET version supported :)
     
  3. bronxbomber92

    bronxbomber92

    Joined:
    Nov 11, 2006
    Posts:
    888
    Thanks Aras :)

    I need to study up on C# a bit more, so I want to learn the right version. I think I'll just wait until 2.0 and learn C# only (without as much .NET as I can :p).
     
  4. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    There aren't a lot of differences in C# versions. Yes, there is support for generics and a couple of other things; but then in real life you'll most likely use generics that come in standard collections (and that's ".NET libraries"). I'd say learn any, the differences between C#/.NET 1.1 and 2.0 are minor.