• Post Reply Bookmark Topic Watch Topic
  • New Topic

How far we can use Generics?  RSS feed

 
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
Boost this thread!