public interface IBaseData<T>
{
List<T> TableToList();
}
public interface IStudent : IBaseData<Student>
{
}
public class StudentOperation : IStudent
{
public List<Student> TableToList()
{
throw new System.NotImplementedException();
}
}
public class Student
{
public string Name { get; set; }
public string NO { get; set; }
}