【发布时间】:2012-10-09 17:20:46
【问题描述】:
IEnumerable<string> peopleWithInvalidAge =
(from age in User
where age < 0
select name ).Distinct();
MessageBox.show("The people who have invalid age are {0}" , string.Join(", ", peopleWithInvalidAge) )
这会将输出显示为 string 。但我想要的是输出应该以表格形式显示。调用 MessageBox.show 时带有名称和年龄。
如果我们可以在消息框内突出显示,那也很棒
请帮忙。
【问题讨论】:
-
七票反对,没有一条评论可以帮助发帖者知道原因。 SO应该比那更好。
-
@JohnArlen Vague 多部分问题有 3 个答案,OP 没有回应