DateTimeExtensions
.
.
::
.
.
IsWeekend Method (DayOfWeek)
Determines whether this instance is weekend.
Namespace:
Core
Assembly:
Core
(in Core.dll)
Syntax
C#
public
static
bool
IsWeekend
(
DayOfWeek
d
)
Parameters
d
Type:
DayOfWeek
The d.
Return Value
true
if the specified d is weekend; otherwise,
false
.
See Also
DateTimeExtensions Class
IsWeekend Overload
Core Namespace