- Home /
As of Unity 4.6, which C# language features still haven't been implemented?
There is an unsurprising amount of curiosity about this on the web, but a surprising lack of clear responses. So I thought I'd make a question thread for people to find answers about specific language feature implementations.
I have done quite a bit of research on this, and know the answers to some of the specific questions I put forward. But I'm extremely new to Unity and could be wrong, so will leave it to responders to post any links or info you find appropriate. Please try to consider this information as a resource for those just getting their feet wet before responding. I'll mirror a similar post on the forums. Thanks!
General Question:
As of Unity 4.6, which C# language features still haven't been implemented in the compiler Unity uses?
Specific queries:
Support for implicit types (C# var data type)?
Support for asynchronous programming (async/await)?
Support for Lambda Expressions?
Support for dynamic binding?
Support for Expression Trees?
Support for auto-properties?
Here is a preview of C# 6 features. Several of these improvements relate directly to our workflow as game developers. Has anyone found any OFFICIAL information on what Unity's plans for C# language features are in the future?
Answer by Eric5h5 · Jan 15, 2015 at 01:50 AM
Nothing has changed since somewhere around Unity 2. Unity uses Mono 2.6, which is approximately .NET 3.5. The easiest thing is just to write a line of code with the feature in question and see if it compiles.
As for the future, http://blogs.unity3d.com/2014/05/20/the-future-of-scripting-in-unity/
You actually helped a lot with that link. In the article there is a direct link to Unity's $$anonymous$$ono implementation on GitHub. For people who know what to look for answers can be found there.
Your answer
![](https://koobas.hobune.stream/wayback/20220613180440im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Compilation Order question when using js eval() 1 Answer
How to force warnings as errors? 5 Answers
In-Game scripting works in Editor (Try it!) - But Not Build 3 Answers