Given a list of various types, what is the best way to sum all of the elements that are of type int or double.
For example, given this list
List list =