C# Small class and tools