[]
Returns the culture-specific full name of the specified day of the week based on the current UI culture.
public static string GetDayOfWeekName(DayOfWeek day)
Type | Name | Description |
---|---|---|
DayOfWeek | day | The DayOfWeek value. |
Type | Description |
---|---|
string | The culture-specific full name of the day of the week represented by dayofweek. |
Returns the culture-specific full name of the specified day of the week based on the specified culture.
public static string GetDayOfWeekName(DayOfWeek day, CultureInfo culture)
Type | Name | Description |
---|---|---|
DayOfWeek | day | The DayOfWeek value. |
CultureInfo | culture | The CultureInfo object. |
Type | Description |
---|---|
string | The culture-specific full name of the day of the week represented by dayofweek. |