Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xml/System/Random.xml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ The following example uses the parameterless constructor to instantiate three <x
<param name="length">The length of array to return.</param>
<summary>Creates an array populated with items chosen at random from the provided set of choices.</summary>
<returns>An array populated with random items.</returns>
<remarks>The method uses <see cref="M:System.Random.Next(System.Int32)" /> to select items randomly from <paramref name="choices" /> by index. This is used to populate a newly-created array.</remarks>
<remarks>The method uses other methods from this instance to select items randomly from <paramref name="choices" /> by index. This is used to populate a newly-created array. If a seed was provided to create the instance, the results of this method are deterministic, however changes in the algorithm employed may yield different results between major versions of .NET.</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="choices" /> is empty.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
Expand Down Expand Up @@ -363,7 +363,7 @@ The following example uses the parameterless constructor to instantiate three <x
<param name="choices">The items to use to populate the span.</param>
<param name="destination">The span to be filled with items.</param>
<summary>Fills the elements of a specified span with items chosen at random from the provided set of choices.</summary>
<remarks>The method uses <see cref="M:System.Random.Next(System.Int32)" /> to select items randomly from <paramref name="choices" /> by index and populate <paramref name="destination" />.</remarks>
<remarks>The method uses other methods on this instance to select items randomly from <paramref name="choices" /> by index and populate <paramref name="destination" />. If a seed was provided to create the instance, the results of this method are deterministic, however changes in the algorithm employed may yield different results between major versions of .NET.</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="choices" /> is empty.</exception>
</Docs>
Expand Down Expand Up @@ -413,7 +413,7 @@ The following example uses the parameterless constructor to instantiate three <x
<param name="length">The length of array to return.</param>
<summary>Creates an array populated with items chosen at random from the provided set of choices.</summary>
<returns>An array populated with random items.</returns>
<remarks>The method uses <see cref="M:System.Random.Next(System.Int32)" /> to select items randomly from <paramref name="choices" /> by index. This is used to populate a newly-created array.</remarks>
<remarks>The method uses other methods on this instance to select items randomly from <paramref name="choices" /> by index. This is used to populate a newly-created array. If a seed was provided to create the instance, the results of this method are deterministic, however changes in the algorithm employed may yield different results between major versions of .NET.</remarks>
<exception cref="T:System.ArgumentException">
<paramref name="choices" /> is empty.</exception>
<exception cref="T:System.ArgumentNullException">
Expand Down