I'm exhausted. Converting code from Python to C# is just draining. I'm even considering scrapping this whole thing and just rewriting it from the original spec.