Anschließend wird eine Tabelle erstellt, in der das Array und seine Eigenschaften und nicht die Elemente im Array angezeigt werden.
As a result, it creates a table that displays the array and its properties, not the items in the array.
Der folgende Code gibt in der Konsole die Werte der diagonalen Elemente im Array aus
The following code prints the values of the diagonal elements in the array
Wenn Sie mit diesen Eigenschaften arbeiten, können Sie das zurückgegebene Array einer Variablen zuweisen und dann die Variable indizieren, um die Elemente im Array anzeigen zu lassen.
When working with these properties, you can assign the returned array to a variable and then index the variable to see the elements in the array.
Da wir die Anzahl der Elemente im Array zum Zeitpunkt der Kompilierung nicht kennen, müssen wir den Wert während der Laufzeit zuweisen und bereinigen, wenn wir fertig sind.
Given that we don't know the number of items in the array at compile time we are going to have to allocate them at run time and clean up when we're done.
Wenn Sie alle Elemente im Array anzeigen möchten, geben Sie den Namen des Arrays ein.
To display all the elements in the array, type the array name.
Wenn Sie in einem Abfrageparameter einen Arraytyp verwenden möchten, setzen Sie den Typ auf ARRAY<T>, wobei T der Typ der Elemente im Array ist.
To use an array type in a query parameter set the type to ARRAY<T>where T is the type of the elements in the array.
Nach dem Sortieren der Liste in aufsteigender Reihenfolge haben wir die Methode "Reverse" aufgerufen, die, welch Überraschung, die Reihenfolge aller Elemente im Array umkehrt.
After sorting the list in ascending order, we called the Reverse method which-surprise, surprise-reverses the order of all the items in the array.
Beispiel (Verwendung dieses Beispiels) Im folgenden Beispiel werden alle Elemente im Array zur Verwendung von Großbuchstaben veranlasst
Example (How to use this example) The following example changes all items in the array to use uppercase letters
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.