c_sharp_differences.rst: clarify System.IO.Path note

This commit is contained in:
31
2024-02-10 01:40:26 -08:00
parent 2885812f51
commit 69e1d87816

View File

@@ -489,10 +489,13 @@ get_string_from_utf8 StringExtensions.GetStringFromUtf8 (Consider using `S
hex_encode StringExtensions.HexEncode (Consider using `System.Convert.ToHexString`_)
========================= ==============================================================
* .NET contains many path utility methods available under the
`System.IO.Path`_
class that can be used when not dealing with Godot paths (paths that start
with ``res://`` or ``user://``)
.. note::
.NET provides path utility methods under the
`System.IO.Path`_
class. They can only be used with native OS paths, not Godot paths
(paths that start with ``res://`` or ``user://``).
See :ref:`doc_data_paths`.
.. _$ string interpolation: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated
.. _double.ToString: https://learn.microsoft.com/en-us/dotnet/api/system.double.tostring