I’m trying to get a generic method working in VB.NET but I can’t get the signature to accept a generic type parameter. I just get “‘t’ is not accesble because it is “Friend””.
My method signature is:
Public Shared Function GetOffset(ByVal coll As IEnumerable(Of t), ByVal offset As Integer, ByVal limit As Integer) As IEnumerable(Of t)
You haven’t specified a type parameter as far as I’ve seen. Shouldn’t it be:
Note that conventionally this would be
Trather thant.