Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.(Defined by Enumerable.)

Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function.(Defined by Enumerable.)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer.(Defined by Enumerable.)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function.(Defined by Enumerable.)

Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function.(Defined by Enumerable.)

Overloaded. Projects each element of a sequence to an IEnumerable<'T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element.(Defined by Enumerable.)

Overloaded. Projects each element of a sequence to an IEnumerable<'T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.(Defined by Enumerable.)

Overloaded. Projects each element of a sequence to an IEnumerable<'T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element.(Defined by Enumerable.)

Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.(Defined by Enumerable.)

Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.(Defined by Enumerable.)

Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function.(Defined by Enumerable.)

Multiple non-contiguous ranges of dates can be selected. Adding a date individually to SelectedDates or using AddRange will not clear SelectedDates. Setting SelectedDate will still clear SelectedDates, but additional dates or ranges can then be added. Adding a range that includes some dates that are already selected or overlaps with another range results in the union of the ranges and does not cause an exception.

<!-- Create a Calendar that displays dates through
Januarary 31, 2009 and has dates that are not selectable. --><CalendarMargin="20"SelectionMode="MultipleRange"IsTodayHighlighted="false"DisplayDate="1/1/2009"DisplayDateEnd="1/31/2009"xmlns:sys="clr-namespace:System;assembly=mscorlib"><Calendar.BlackoutDates><CalendarDateRangeStart="1/2/2009"End="1/4/2009"/><CalendarDateRangeStart="1/9/2009"End="1/9/2009"/><CalendarDateRangeStart="1/16/2009"End="1/16/2009"/><CalendarDateRangeStart="1/23/2009"End="1/25/2009"/><CalendarDateRangeStart="1/30/2009"End="1/30/2009"/></Calendar.BlackoutDates><Calendar.SelectedDates><sys:DateTime>1/5/2009</sys:DateTime><sys:DateTime>1/12/2009</sys:DateTime><sys:DateTime>1/14/2009</sys:DateTime><sys:DateTime>1/13/2009</sys:DateTime><sys:DateTime>1/15/2009</sys:DateTime><sys:DateTime>1/27/2009</sys:DateTime><sys:DateTime>4/2/2009</sys:DateTime></Calendar.SelectedDates></Calendar>