3 ms·
Could you link to the feature you're talking about? Unity uses a relatively ancient version of Mono IIRC, so it's unlikely that the feature is available in Unit
by 0xffff2 11y ago
Could you link to the feature you're talking about? Unity uses a relatively ancient version of Mono IIRC, so it's unlikely that the feature is available in Unity unless your definition of "modern C#" is "after generics were added".
- UK-AL 11y agohttps://blogs.msdn.microsoft.com/visualstudio/2015/12/10/the-net-journey-recapping-the-last-year/ https://blogs.msdn.microsoft.com/visualstudio/2015/12/10/the...
- pjmlp 11y agoModern C# means .NET 4.6 For example GC.TryStartNoGCRegion https://msdn.microsoft.com/en-us/library/dn906201%28v=vs.110%29.aspx https://msdn.microsoft.com/en-us/library/dn906201%28v=vs.110... SafeBuffers https://msdn.microsoft.com/library/system.runtime.interopservices.safebuffer%28v=vs.100%29.aspx https://msdn.microsoft.com/library/system.runtime.interopser... Or using array segments https://msdn.microsoft.com/en-us/library/9cc4bx8k(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/9cc4bx8k(v=vs.110).... Unity has made a lot to spread C# love among game devs, but it also gave a bad reputation to those unaware how .NET really is.