✅ why is the variable not being typed? - C#