Switch C# language version to 10 in all projects

Switch C# language version to 10 in all projects. Because we want to use new features.