This tutorial explains how to use generic parameters on methods and how to associate multiple types using a generic parameter.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.