public static void ForEach<T>(this IEnumerable<T> enumerableSource, Action<T> doCallBack){
if (enumerableSource == null || doCallBack == null)
return;
foreach (var item in enumerableSource){
if (item == null)
continue;
doCallBack(item);
}
}