C#C
C#4y ago
35 replies
Petr

❔ Variables from different classes not adding up 2

Hello there once again. Basically, i'm trying to make variable from one class equal to a variable from other class based on users input. Same with couple of methods using simple delegates. There's no error, but after trying to print out chosen variable it always returns 0 (or null), which is not right. In case of methods, it returns null and throws an exception error. All code needed to solve this should be included in attachment photos, i hope i added everything necessary. Thanks for your time and help,
Petr
image.png
image.png
image.png
image.png
image.png
image.png
Was this page helpful?