C# List<string> proper usage
<p>What I have basically going on is a mySQL query that pulls in a list of ids, I want to store those id's in a list and basically check that list later on.  Is List what I need?  If so how do I say if(List&lt;>.Contains"IDX") Console.writeline("true");</p>

<pre><code>    public static void FillListingIDS()
    {
        string mysqlQuery = "select listingid from live where crawlerid = '"+StaticStringClass.crawlerID+"'";
        DataTable listIDTable = new DataTable();
        MySQLProcessor.DTTable(mysqlQuery, out listIDTable);
        List&lt;string&gt; listingId = new List&lt;string&gt;();
        foreach (DataRow listingidRow in listIDTable.Rows)
        {
            listingId.Add(listingidRow.ItemArray.ToString());

        }
        ListingIDS = listingId;
    }
    public static List&lt;string&gt; ListingIDS { get; set; }
</code></pre>
