DeadlyRemix
❔ Generics
I want to start off by saying I have no clue what I'm talking about. With that out of the way I have a generic function that I want pass a type into, but I want to store that type in a variable and let it be subject to change. Below is an example in a console application which definitively doesn't work, but it demonstrates how I would want it to work.
How is this done? Thanks
10 replies