Q:

How can I use Line to get just one array from a C# dataset? 

I have this C# code: 
    public static List<ExcelDataModel> ExcelDataList(DataSet ds)
    {
        foreach (DataTable dt in ds. Tables)

What I would like to do is to just get the Database called Phrase.  So I tried something like this:
    DataTable dtphrase = ds. Tables.where(x => x.Tables == "Phrase").FirstOrDefault();

I am trying with this where clause but it doesn't recognise me adding a where after ds. Tables.  

A:

You can use 
DataTable dataTable = ds. Tables["Phrase"];

