c#中的集合怎么用?用循环输出语句

lisailing 2016-05-21 10:55:31
c#中的集合怎么用?用循环输出语句
...全文
2690 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_16313575 2020-05-07
  • 打赏
  • 举报
回复
var strList=new List<string>{"你好吗?","你好美!","你真帅!","好好好!"} strList.ForEach(str=>Console.WriteLine(str)); 这个写的不错啊,赞一个!
jac-song 2016-11-16
  • 打赏
  • 举报
回复
var strList=new List<string>{"你好吗?","你好美!","你真帅!","好好好!"} strList.ForEach(str=>Console.WriteLine(str));
Polymorphic_type 2016-09-05
  • 打赏
  • 举报
回复
什么意思能具体点吗?
维秀斯丢丢 2016-08-19
  • 打赏
  • 举报
回复
提问能否说清楚?这有谁愿意回答你的提问。你这个谁知道什么意思呢,如何使用?没学过.C#吗。
threenewbee 2016-05-21
  • 打赏
  • 举报
回复
List<int> list - new List<int>(); list.Add(1); list.Add(2); list.Add(3); foreach (int i in list) Console.WriteLine(i);
Poopaye 2016-05-21
  • 打赏
  • 举报
回复
你自己明白在说什么吗?

13,347

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 .NET技术前瞻
社区管理员
  • .NET技术前瞻社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧