What version of C# does Invoke Code use? Is this standard?

What is the compiler being referenced? C#5 is so old. It’d be great to have newer features.