List<int> b = new List<int>() { 12, 56, 45, 65, 4, 6 };
b.Add(125);
IEnumerable<int> c = from n in b
where n < 60 && n > 12
select n;
c
만 참조합니까? from ... select n
은 어떤 유형입니까?쿼리 식으로 작성한 오브젝트는 어떤 타입입니까?
System.Linq.Enumerable+WhereListIterator`1[System.Int32]
당신은) (c.GetType를 검사하여 이것을 볼 수 있습니다 :
나는 당신이 그것에 대해 읽어 제안 : http://msdn.microsoft.com/en-us/library/bb308959.aspx HTTP : //msdn.microsoft.com/en-us/library/bb397676.aspx –