我试图使用foreach声明.我希望能够做到这样的事情:
foreach (int item in itemcount) { label{0}.Text = item.ToString() }
其中{0}是项目中的数字.
这可能吗?
c# foreach
c# ×1
foreach ×1