Page 1 of 1

Kopieren Sie Arrays in Array

Posted: 17 Feb 2025, 09:07
by Anonymous
Ich habe ein kleines Problem mit Arrays. Ich bin neu in C#.

Code: Select all

unsortedArray = randomNumbers();

unsortedArray2 = unsortedArray;
unsortedArray3 = unsortedArray;
Aber wenn ich das UnortedArray2 sortiere, wird auch das ungortierteArray3 sortiert.
Kann mir jemand helfen? /P>