소스 검색

Docs Clarify `Array.fill` behavior when reference type is passed in

kleonc 2 년 전
부모
커밋
221a89f2ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      doc/classes/Array.xml

+ 1 - 0
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">