I'm new to C# and programming in general and wondering about the notation <T>
The question has been asked before, for example here: What does "T" mean in C#?
I just wanted to get some clarification to extend on that.
Can <T>
be anything? I understand it is a naming convention by MS and could be named whatever you want, and it is for generic types, int, bools or whatever - but can it extend beyond that?
Can I pass an entire function/method to it just for the sake of it? Or is it strictly for return types if that makes sense?