using System.Collections.Generic;
using System.Text.RegularExpressions;
public static class ExtensionMethods
{
public static void Add<T>(this ICollection<T> coll, IEnumerable<T> seq)
{
foreach (T item in seq)
coll.Add(item);
}
public static bool IsNullEmptyOrWhitespace(this string value)
{
return string.IsNullOrEmpty(value) || !Regex.IsMatch(value, @"\S");
}
}
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.