Guest User

Untitled

a guest
Jul 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1.  
  2. public class Foo<T>
  3. {
  4. T Bar { get; set; }
  5. }
  6.  
  7. public class Bar
  8. {
  9. public IEnumerable<T> Baz<T>(List<Foo<T>> list)
  10. {
  11. return list.Select(f => f.Bar);
  12. }
  13. }
Add Comment
Please, Sign In to add comment