// Creating and setting the label
Label mylab = new Label();
mylab.Text = “GeeksforGeeks”;
mylab.Location = new Point(222, 90);
mylab.Size = new Size(120, 25);
mylab.BorderStyle = BorderStyle.FixedSingle;
// Adding this control to the form
this.Controls.Add(mylab);

