How can I Update c# version?

For a game im making, i need to use c# 7.3.

according to the file in my project files: “Assembly-CSharp.csproj” - I Am Using C# Version 7.2.
How do i update?

The C# version is tied to the Unity editor version. If you’re using 2020.x, then you should be fine.

Solved: through the project settings there is a way to update the .net version and through that also update the c# version between 4.X to 7.X.

also by updating to a new unity engine version it will automatically update the c# version and install the missing libraries. on some unity 2021.1 Versions there is a bug where this doesn’t work but in 2021.2 it is fixed.