I know that C# version depends on .NET Framework.
But .NET Core which version uses?
Particularly .NET Core 2? C#7?
From Microsoft .net core what's new page:
NET Core 2.0 supports C# 7.1, which adds a number of new features, including:
- The Main method, the application entry point, can be marked with the async keyword.
- Inferred tuple names.
- Default expressions.
You can also review check the C# Language versioning page
The compiler determines a default based on these rules:
.NET Core 2.x C# 7.3