Skip to content

Commit

Permalink
Merge pull request #9139 from Calinou/csharp-style-guide-update-cshar…
Browse files Browse the repository at this point in the history
…p-version

Update C# version recommendation in C# style guide
  • Loading branch information
mhilbrunner committed Mar 25, 2024
2 parents bd7bc61 + 8673215 commit e2ed87f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tutorials/scripting/c_sharp/c_sharp_style_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ of the language, we encourage you to do the same, especially if you do not have
Language specification
----------------------

Godot currently uses **C# version 7.0** in its engine and example source code. So, before we move to
a newer version, care must be taken to avoid mixing language features only available in C# 7.1 or
later.
Godot currently uses **C# version 10.0** in its engine and example source code,
as this is the version supported by .NET 6.0 (the current baseline requirement).
So, before we move to a newer version, care must be taken to avoid mixing
language features only available in C# 11.0 or later.

For detailed information on C# features in different versions, please see
`What's New in C# <https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/>`_.
Expand Down

0 comments on commit e2ed87f

Please sign in to comment.