- 1

Hello i got a problem in C#

I declaerd a view variables then I declared a switch statement and in it depending on the chosen class I assinged variables values with health and so on but the problem is outside of the statement I cant use any of these has anyone an idea why ?

12th Mar 2019, 7:00 PM
Cesar Andres
Cesar Andres - avatar
4 Respostas
+ 1
It's hard to guess if you don't show your code. You can save the code in Playground and post the link here.
12th Mar 2019, 7:07 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
You now what never mind i worked fu*** 3 days on a solution and declared functions classes an everything an now i got it i didnt gave the variables a value while i assignd them 😐
12th Mar 2019, 7:12 PM
Cesar Andres
Cesar Andres - avatar
+ 1
But many thanks for trying to help 🙏🏼
12th Mar 2019, 7:13 PM
Cesar Andres
Cesar Andres - avatar
0
For nothing 😉
12th Mar 2019, 7:34 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar