Any way to write a method that accepts generic parameter and assign value?

Printable View