C# case development