General types and common methods are very different things. It looks like you have a generic type:
class SomeType<T> {
public void Sample(T someValue) {...}
}
and discuss with him a general method:
class SomeType<T> {
public void Sample<T>(T someValue) {...}
}
. , Sample, T "T, SomeType<T>". , Sample, T - "the T, Sample<T>". , T ( ) . , :
var obj = new SomeType<int>();
obj.Sample<decimal>(123.45M);
, ( Sample<T>) "T in SomeType<T>" - , generic .
( ), ( ):
class SomeType<T> {
public void Sample<TActual>(TActual someValue) where TActual : T, new() {...}
}
.. - , T. .