[Solved] Cannot implicitly convert type ‘int’ to ‘string’. CS0029 [closed]


int Number, season;

this is wrong because the number variable is type of integer but the season variable can’t be integer

You have to define Like this

int Number;    
string season = string.Empty;

3

solved Cannot implicitly convert type ‘int’ to ‘string’. CS0029 [closed]