❔ Windows Form, Changing Label.Text says Cannot Implicitly Convert type "void" to "String"
Not sure why this is happening. I'll take any help I can get 🙏
6 Replies
Console.Write()
writes text to the console
It doesn't return anything
What are you trying to do there?
And what is Score
?Basically im using Windows Form and im trying to have the label text change from score: 0 to a higher score
a variable meant to track the score (increases by 10 if the user clicks the right button in the windows form)
Label2.Text = Score.ToString()
is what you want, thenthank u so much!!!!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.