开发者

c# How to create an array of label [closed]

开发者 https://www.devze.com 2023-01-20 15:19 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, inc开发者_C百科omplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. Fo
It's difficult to tell what is being asked here. This question is ambiguous, vague, inc开发者_C百科omplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

How to create an array of label??


Label[] labels = new Label[N];

then fill the array:

for (int i = 0; i < labels.Length; i++)
   labels[i] = new Label(...) { ... };


Label[] label = new Label[10];
0

精彩评论

暂无评论...
验证码 换一张
取 消