wasSharp
/Linq.cs |
---|
@@ -25,6 +25,9 @@ |
/// where each predicate has to return True or False indicating whether |
/// fallthrough should occur. |
/// </param> |
/// <remarks>when used, the default action must be explicitly specified |
/// due to language restrictions |
/// </remarks> |
public static void Switch<T>(this IEnumerable<T> query, |
// default |
Action<T> @default, |