can i create like that generic? - C#