Testing text of a label in Visual C#
I am learning C# with Visual Studio and I am making an application with a lot of labels. I need to test if the text of a label is equal to a string.
I think that it is probably something close to this:
if (label1.Text == <the string I want>)
please answer this as fast as you can
Thank you.