I want to pass some parameters to a printReport function,
in which there is a parameter known as a List<>
of some report data.
This can be
Should I construct 10 polymorphic functions to deal with each type
Or there are some ways like using generics to cover each one of them
Could you please raise an example where appropriate?