Demonstrate the usage of generic types.