Advice for how best to adapt a Python habit to C# - C#