Here is a very basic example of method overloading , two methods with the same name but with different signatures :
int MyMethod(int a)
int MyMethod(int a, string b)
Now let's say I define two generic interfaces, sharing the exact same name but with different number of type parameters, such as:
IMyInterface<T>
IMyInterface<T1,T2>
Can I say this represents "generic interface overloading" ? Or does the "overloading" term only applies to methods in such a context ? Still it looks kind of very similar to method overloading, in the sense that we are keeping an exact same name but varying the parameters.
If I can't say "generic interface overload/overloading" what can I say about these two different interfaces sharing the same name ?
Thanks and sorry if this is a dumb question, but googling arround "generic interface overload" or "generic interface overloading" doesn't give me much but results concerning interface methods overloading, which is not what I'm interested in.
Tuple
class (msdn.microsoft.com/en-us/library/system.tuple.aspx), it never uses a specific terminology. Indeed, it tends to refer to the different versions as different types. However, it also differentiates them by referring to their "components". So maybe when referring to your generic types, you can use language like "MyMethod type with 2 components" or "MyMethod type with 1 component"? – Skiplane