C# - Quality code