Type Parameters (Methods) C# with Example
void MyGenericMethod(T1 a, T2 b, T3 c)
// Do something with the type parameters.
There is no need to supply type arguements to a genric method, because the compiler can implicitly infer the type.
int x =10;
int y =20;
string z = "test";
However, if there is an ambiguity, generic methods need to be called with type arguemnts as