var 型を List 型にキャスト/変換する方法は?
このコードスニペットは私にエラーを与えています:
List<Student> studentCollection = Student.Get();
var selected = from s in studentCollection
select s;
List<Student> selectedCollection = (List<Student>)selected;
foreach (Student s in selectedCollection)
{
s.Show();
}