Post

#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
#### ANSWER ####
(B)
You cannot **implicitly** convert a string into an int.
In order to do that you can use the function int.Parse(); or int.TryParse();
int healthAmount = int.Parse(savedHealthData);
Or you can use something like JSON to handle the type conversion for you, that's how I normally handle saving and loading in my games and I never have to manually parse numbers.
Simple Saving and Loading with JSON to a File youtube.com/watch?v=6uMFEM…

YouTube
English