DayOfWeek Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Specifies the day of the week.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public enum DayOfWeek

Member nameDescription
SundayIndicates Sunday.
MondayIndicates Monday.
TuesdayIndicates Tuesday.
WednesdayIndicates Wednesday.
ThursdayIndicates Thursday.
FridayIndicates Friday.
SaturdayIndicates Saturday.

The DayOfWeek enumeration represents the day of the week in calendars that have seven days per week. The value of the constants in this enumeration ranges from DayOfWeek..::..Sunday to DayOfWeek..::..Saturday. If cast to an integer, its value ranges from zero (which indicates DayOfWeek..::..Sunday) to six (which indicates DayOfWeek..::..Saturday).