Simple but sometimes helpful C# classes