Apply suggestions from code review

Co-authored-by: RedworkDE <10944644+RedworkDE@users.noreply.github.com>
This commit is contained in:
Raul Santos
2023-02-21 19:39:29 +01:00
committed by GitHub
parent 7f35d9b38e
commit 4fc468e2e9

View File

@@ -3,12 +3,13 @@
C# collections
==============
The .NET base class library contains multiple collection types that can be
used to store and manipulate data. Godot also provide some collection types
that are tightly integrated with the rest of the engine.
Choose a collection
-------------------
The .NET base class library contains multiple collection types that can be
used to store and manipulate data. Godot also provide some collection types.
The main difference between the `.NET collections <https://learn.microsoft.com/en-us/dotnet/standard/collections/>`_
and the Godot collections is that the .NET collections are implemented in C# while
the Godot collections are implemented in C++ and the Godot C# API is a wrapper over it,
@@ -47,7 +48,7 @@ To choose which collection type to use for each situation, consider the followin
* If yes, since Godot only supports :ref:`Variant-compatible <doc_c_sharp_variant>`
types, use a Godot collection.
* If not, consider `choosing an appropiate .NET collection <https://learn.microsoft.com/en-us/dotnet/standard/collections/selecting-a-collection-class>`_.
* If not, consider `choosing an appropriate .NET collection <https://learn.microsoft.com/en-us/dotnet/standard/collections/selecting-a-collection-class>`_.
* Do you need a Godot collection that represents a list or sequential set of data?