I think the title should explain it all but just in case...
I want to know what risks and potential issues relating to casting can arise from the following snippet o
In addition to the answers already posted, take a look at the following
The compiler generates a warning incase an element from the type is accessed later in your code and that is not the generic type defined previously. Also the type information at runtime is not available.