public void PadLeftIfNecessary() { var index = Plants.IndexOf('#'); for (var i = 0; i < 5 - index; i++) { Plants = "." + Plants; ZeroOffset++; } }