Ein Paar in C# ist eine einfache Datenstruktur, die zwei Werte desselben Typs zusammenfasst. Es kann beispielsweise zwei Zahlen, zwei Zeichenfolgen oder zwei benutzerdefinierte Objekte enthalten. Durch die Verwendung von Paaren können diese Werte leichter als Einheit behandelt und zusammen übergeben oder gespeichert werden. Paare sind in C# immutabel, was bedeutet, dass ihre Werte nach der Initialisierung nicht geändert werden können.
C# (CSharp) pair - 44 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die pair, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.