System.DayOfWeek Enumeration

Assembly: Mscorlib.dll
Namespace: System
Summary
Specifies the day of the week.
C# Syntax:
[Serializable]
public enum DayOfWeek
Remarks
The DayOfWeek enumeration represents the day of the week in calendars that have seven days per week. This enumeration ranges from zero, indicating Sunday, to six, indicating Saturday.

This enumeration is useful when it is desirable to have a strongly typed specification of the day of the week. For example, this enumeration is the type of the DateTime.DayOfWeek property.

See also:
System Namespace

System.DayOfWeek Member List:

Public Fields
Friday Indicates Friday.
Monday Indicates Monday.
Saturday Indicates Saturday.
Sunday Indicates Sunday.
Thursday Indicates Thursday.
Tuesday Indicates Tuesday.
Wednesday Indicates Wednesday.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.