I’m trying to create an extension method for a generic List using this code:
public static int WrapIndex(this IList<T> list, int counter)
but I’m getting this error:
The type or namespace name `T’ could
not be found. Are you missing a using
directive or an assembly reference?
Any help is much appreciated - thanks!