Could you link to the feature you&#x27;re talking about? Unity uses a relatively ancient version of Mono IIRC, so it&#x27;s unlikely that the feature is available in Unity unless your definition of &quot;modern C#&quot; is &quot;after generics were added&quot;.