diff options
author | kleonc <9283098+kleonc@users.noreply.github.com> | 2022-10-30 13:36:14 +0100 |
---|---|---|
committer | kleonc <9283098+kleonc@users.noreply.github.com> | 2022-10-30 13:42:24 +0100 |
commit | 221a89f2ef5d3310aafeec7a275da3c5a3b1125a (patch) | |
tree | aaec6ca860c5a52fcf62d7b6012d8fe3a1891931 /doc/classes/Array.xml | |
parent | ad3f2a234082f0d62820094199c05855115c1341 (diff) |
Docs Clarify `Array.fill` behavior when reference type is passed in
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r-- | doc/classes/Array.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 0f76639caf..b8e0ac0c2a 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -272,6 +272,7 @@ array.Fill(0); // Initialize the 10 elements to 0. [/csharp] [/codeblocks] + [b]Note:[/b] If [param value] is of a reference type ([Object]-derived, [Array], [Dictionary], etc.) then the array is filled with the references to the same object, i.e. no duplicates are created. </description> </method> <method name="filter" qualifiers="const"> |