Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How far we can use Generics?

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have un-finished code below. how to make it work (if possible)?

the idea is passing a list of type E and do sum up.

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone have an idea?

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic