C# code to change the text of a label (i.e. set label3 = "This stuff");

I have placed a text label on a form (i.e. label3) and I can of course change it using the porperties WIndow but on the fly I was to set the label text from my code. In Java it was like label3.setText("Text") or something - how do I do this in C# - even gOoGle let me down.

Who is Participating?
try this

label2.Text = "Text";
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.