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 が呼び出されたときの名前と年齢。
メッセージ ボックス内を強調表示できれば、それも素晴らしいことです
助けてください。