DataTable Select vs LINQ Select
问题 Any advice on when DataTable.Select should be used versus LINQ Select when dealing with an in-memory DataTable? I find LINQ syntax easier and more powerful, but I'm not sure if there are performance or other issues which make a DataTable select preferable. (I'm using a third party API that provides a DataTable that has been pre-populated from the database. I need to filter that further in-memory.) 回答1: Based upon personal experience, I try to avoid the Datatable.Select. I find it to be slow