# C#7

**URL:** https://discussions.unity.com/t/c-7/647757
**Category:** C# & .NET
**Tags:** Scripting
**Created:** [December 2, 2016, 9:12pm UTC](https://discussions.unity.com/t/c-7/647757 "2016-12-02T21:12:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![pragmascript](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/pragmascript/32/985235_2.png) [@pragmascript](https://discussions.unity.com/u/pragmascript)
#### Post date: [December 2, 2016, 9:12pm UTC](https://discussions.unity.com/t/c-7/647757/1 "2016-12-02T21:12:52Z")

</div>

Hello 🙂

I’m glad that Unity is finally moving to a newer Version of the .NET runtime and the C# language.  
What are the plans of keeping up to date once .NET 4.6 and C#6 have been rolled out?

C#7 Release is around the corner and features like **[ref returns](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)**[](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)and **[native](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)**[](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)**[tuples](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)**[](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/)seem to be almost tailored towards gamedev.

---

<div class="post-metadata">

### Author: ![MEGA64](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@MEGA64](https://discussions.unity.com/u/MEGA64)
#### Post date: [December 3, 2016, 5:32pm UTC](https://discussions.unity.com/t/c-7/647757/2 "2016-12-03T17:32:35Z")

</div>

Great if Unity will support C# 7.0. New language features is awesome!

---

<div class="post-metadata">

### Author: ![Hertzole](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/hertzole/32/920510_2.png) [@Hertzole](https://discussions.unity.com/u/Hertzole)
#### Post date: [December 4, 2016, 2:54pm UTC](https://discussions.unity.com/t/c-7/647757/3 "2016-12-04T14:54:47Z")

</div>

I would love if Unity added C# 7.0! All those new features + the other features from previous C# versions would be so awesome! 😄  
Please Unity!

---

<div class="post-metadata">

### Author: ![Schubkraft](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/schubkraft/32/891518_2.png) [@Schubkraft](https://discussions.unity.com/u/Schubkraft)
#### Post date: [December 5, 2016, 11:01am UTC](https://discussions.unity.com/t/c-7/647757/4 "2016-12-05T11:01:26Z")

</div>

As mentioned in various other posts we’re planning on staying closer to the latest compared to the past. But we have to get over the initial hurdle of updating to .net 4.6 but as you can see here we are on a good way with that 🙂

---

<div class="post-metadata">

### Author: ![ThainaYu](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ThainaYu](https://discussions.unity.com/u/ThainaYu)
#### Post date: [January 18, 2017, 2:12am UTC](https://discussions.unity.com/t/c-7/647757/5 "2017-01-18T02:12:11Z")

</div>

@Schubkraft was .Net 4.6 support C# 7 when ever it released?

---

<div class="post-metadata">

### Author: ![Schubkraft](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/schubkraft/32/891518_2.png) [@Schubkraft](https://discussions.unity.com/u/Schubkraft)
#### Post date: [January 18, 2017, 10:01am UTC](https://discussions.unity.com/t/c-7/647757/6 "2017-01-18T10:01:20Z")

</div>

Not yet. We released the updated compiler in 5.5. The next step is to the new Mono version but using the same older .net profile. After that we’ll be updating the profile.  
We are doing it this way to keep the disruption as small as possible and do one step at time but do it right.

---

<div class="post-metadata">

### Author: ![JoshPeterson](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/joshpeterson/32/44179_2.png) [@JoshPeterson](https://discussions.unity.com/u/JoshPeterson)
#### Post date: [January 18, 2017, 12:52pm UTC](https://discussions.unity.com/t/c-7/647757/7 "2017-01-18T12:52:20Z")

</div>

To clarify a bit, we’re now planning to release a new Mono runtime and the upgraded .NET 4.6 profile at the same time. Things are still up in the air, but this is the current state.

Not however that this release will not yet have C# 7 support. That is planned for a later release though.

---

<div class="post-metadata">

### Author: ![ThainaYu](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@ThainaYu](https://discussions.unity.com/u/ThainaYu)
#### Post date: [January 19, 2017, 3:06am UTC](https://discussions.unity.com/t/c-7/647757/8 "2017-01-19T03:06:17Z")

</div>

Thanks for your clarification

I wish after C# 7 support. Unity next version would have new API to utilize return ref. Such as matrix and other struct manipulation

---

<div class="post-metadata">

### Author: ![JoshPeterson](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/joshpeterson/32/44179_2.png) [@JoshPeterson](https://discussions.unity.com/u/JoshPeterson)
#### Post date: [January 19, 2017, 12:39pm UTC](https://discussions.unity.com/t/c-7/647757/9 "2017-01-19T12:39:11Z")

</div>

> [@ThainaYu](#):
>
> Thanks for your clarification
> 
> I wish after C# 7 support. Unity next version would have new API to utilize return ref. Such as matrix and other struct manipulation

@ThainaYu

Don’t worry, we’re working on that as well. We are members of the .NET Foundation, and have been working with other members to the future of C# to allow for things like this.
