operator [] method

DayOfTheWeek operator [](
  1. int index
)
Gets the DayOfTheWeek at a specific index in the collection. Index

Implementation

DayOfTheWeek operator [](int index) => _items[index];