title: how to check whether a key/value is present in namevaluecollection with linq
body: <p>how to check whether a key/value is present in NameValueCollection with LINQ
  I have a Name-Value collection with some key and its corresponding values. I need to check whether a particular key or value is present in the collection. I need the vb.net code for this</p>
  
  <p>I need to use LINQ. Can u provide the LINQ statements to get the items from the NameValueCollection </p>
  
  <p>I am filling the Name - Value collection with same keys having multiple values. I want to check whether a particular key with a particular value is there in the collection</p>
  
  <p>this is the code</p>
  
  <pre><code>Dim nvproducts as new namevaluecollectionn
  nvproducts.Add("1", "A")
  nvproducts.Add("1", "I")
  nvproducts.Add("2", "I")
  nvproducts.Add("1", "A")
  </code></pre>
  
  <p>From this namevaluecollection i need to check whetehr a key with 1 and value A is there in the namevaluecollection. and i would like to do it in linq</p>