Hello i got a problem in C# | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 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