This example shows you How to use Label control in C# .NET Windows Forms Application.

What is label control?

Label is a common control in the Windows Forms Application, usually it is used to display information.

You can easily create a Label control by dragging a Label from the Visual Studio Toolbox to your winform, then you can set the Text property to Label from your form designer or code behind.

label1.Text = "Welcome to dotnetexample.com";

In addition to displaying text, you can use Label control to display an image using the Image property.

label1.Image = Image.FromFile("C:\\dotnetexample.jpg");