What is the difference between following two implementaion,if no difference why we need Extension methods ?
(public static List<TSource> ToList<TSource>(this IEnumerable<TSource> source
);)
1.IEnumerable<Student> myExtension = mtyStudent; // "mtyStudent is colletion"
myExtension.ToList();
2.List<Student> myStudent= Enumerable.ToList(myExtension);