title: 'object' does not contain a definition for dynamic
body: <p>I am using below describe method. That return dynamic result. </p>
  
  <pre><code>public static dynamic GetCouponDetailsbyCouponID(Guid couponID)
          {
              using (var loEntities = new Entities())
              {
                  dynamic nonWinnerGift = (from nw in loEntities.CorporateNonWinnerGift
                                           join um in loEntities.Users on nw.UserID equals um.Id
                                           where nw.IsDeleted != true &amp;&amp; nw.CouponID == couponID
                                           select new
                                           {
                                               FullName = (um.FirstName + " " + um.LastName),
                                                   Title = nw.Title,
                                                   Description = nw.Description,
                                                   LogoName = nw.LogoName,
                                                   CouponID = nw.CouponID,
                                                   IsDiscount = nw.IsDiscount,
                                                   Discount = nw.Discount,
                                                   Desclaiemer = nw.Desclaiemer
                                               }).SingleOrDefault();    
                  return nonWinnerGift;
              }
          }
  
   dynamic expandDoObject = new ExpandoObject();
  </code></pre>
  
  <p>When I am trying to access "couponData.LogoName" than thrown dynamic run-time exception. Please find below my exception
  "A first chance exception of type 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' occurred in ClosetAuctions.dll
  <a href="https://i.stack.imgur.com/4y3p4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4y3p4.png" alt="enter image description here"></a>Additional information: 'object' does not contain a definition for 'LogoName'"</p>
  
  <pre><code>                var couponData = CorporateNonWinnerGiftBL.GetCouponDetailsbyCouponID(couponID);
  
                  if (couponData != null)
                  {
                      string fileName = couponData.LogoName;
                  }
  </code></pre>