learn c# create 10 hello world auto with code only oop
Code
private Label CreateLabel
*
Label label = new Label;
label.Text = text;
label.BackColor = Color.Yellow;
label.Font = new Font"Arial", 25;
label.AutoSize = true;
label.Location = new System.Drawing.Point 10, 10 + index * 30;
return label;
*
30 июн 2024