❔ Line of code not working unless stepped through using breakpoint - C#