title: Access an object properties without casting to a type
body: <p>i am using LINQ to entity to return a list of objects</p>
  
  <pre><code>            var st = personsList.Select(p =&gt; new
              {
                  ID = p.Id,
                  Key = p.Key,
                  Name = p.Name,
                  Address = p.Address,
                  City = p.City,
                  PhoneNumber = p.PhoneNumber
              })
              return st.ToList();
  </code></pre>
  
  <p>after i get the list in another class how can I access each property?</p>
  
  <p>something like  </p>
  
  <pre><code>foreach(object s in St)
  {
      string name = s.Name;
  }
  </code></pre>
  
  <p>I have no predefined class to cast the object to it.</p>
  
  <p>Can this be done without having to create a class and cast the object to that class type?</p>
  
  <p>Thanks</p>