Extension Methods from Jeff Reddy
-
Filter
Allows you to filter an IEnumerable<T>
-
GetBoolean(string fieldName), GetDateTime(string fieldName), etc...
Use the Get[Type] functions that are part of the IDataReader but by passing the field name as a string as opposed to the field ordinal as int. Allows assigning default values for null values returned by the datareader.
-
Clone
Allows you to clone an etire generic list of cloneable items.
-
LCM
Uses the Euclidean Algorithm to determine the Least Common Multiplier for an array of integers