I came across the following code
public static IMyQueries<T> Foo<T>(this ASet<T> items)
{
...
}
My question is in the parameter of this function the keyword this
is being used. Why is that ? From what I understand is that ASet is the typename which is templated. Why is the keyword this
there. Can someone give a simple example of why this
is employed as a parameter?