title: how to write LINQ to objects equivalent code for this code
body: <p>How can we write LINQ equivalent code of this code:</p>
  
  <pre><code>foreach (Function objFunc in _objCFLFile.CFLFunctionsList)
  {
       if (objFunc.Name == txtFunctionName.Text)
       {
            ShowMessage(Constants.M10036);
            return false;
       }
  }
  </code></pre>
  
  <p>thanks guys i marked your answers as +1
  If i wish to add one more condition like this</p>
  
  <pre><code>foreach (Function objFunc in _objCFLFile.CFLFunctionsList)
              {
                  if (objFunc.Name == txtFunctionName.Text &amp;&amp; objFunc.Signature == OtherFunction.Signature)
                  {
                      ShowMessage(Constants.M10046);//function already exists
                      return false;
                  }
              }
  </code></pre>
  
  <p>in this case also there are various LINQ syntax but which will b the perfect one , efficient one ?</p>