QuantConnect seems to only support C# 6 at the moment.

See 

https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7-3