Skip to content

Instantly share code, notes, and snippets.

View pseudomuto's full-sized avatar
📈
☁️ things

David Muto pseudomuto

📈
☁️ things
View GitHub Profile
@pseudomuto
pseudomuto / Guard.cs
Created August 12, 2013 12:15
A simple class for guarding against nulls, etc..
internal static class Guard
{
public static void AgainstNull(string name, object value)
{
if (value == null)
{
throw new ArgumentNullException(name);
}
}