how can I avoid chaos like this ? - C#