I cannot use ToList<Tresult>() extension method. The code I use is,
return this.Semesters.ToList<ISemester>()
'Semesters' in above code is an EntityCollection. These using directives are already present,
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Still I cannot Compile as it keeps on complainting that
System.Data.Objects.DataClasses.EntityCollection<Semester> does not contain a definition for 'ToList' and the best extension method overload System.Linq.ParallelEnumerable.ToList<TSource>(System.Linq.ParallelQuery<TSource>) has some invalid arguments