Skip to content

TSTS_Properties

Joe Care edited this page Oct 18, 2025 · 1 revision

Properties

Eigenschaftsarten und -muster in C#.

Inhalte

  • Auto-Properties, init-only, required
  • Get/Set-Accessoren, Validierung
  • Benachrichtigung: INotifyPropertyChanged
  • Abhängige Eigenschaften, berechnete Properties

Beispiele

  • PropertyChanged-Raising, CallerMemberName
  • Immutable-Modelle mit record und init

Weiterführend

Clone this wiki locally