Base C# Solution