title: Cannot convert method group 'SingleOrDefault' to non-delegate type 'Product'. Did you intend to invoke the method?
body: <p>Here's my code. I keep getting this error. I'm pretty new to programming and this website. Hope I posted the questions properly. Thanks </p>
  
  <pre><code>protected void btnSave_Click(object sender, EventArgs e)
  {
      using(TestEntities myEntity = new TestEntities())
      {
          Product myProduct;
  
          //if insert
          if (_id == -1)
          {
              myProduct = new Product();
              myProduct.CreateDateTime = DateTime.Now;
              myProduct.UpdateDateTime = DateTime.Now;
              myEntity.AddToProducts(myProduct); 
  
          }
  
              //update case
          else
          {
              myProduct = (from p in myEntity.Products
                           where p.ProductID == _id
                           **select p).SingleOrDefault;**
              myProduct.UpdateDateTime = DateTime.Now;
          }
  </code></pre>