C# mathinator