Hi!!

Is it possible to have a class, sub or function declared with an arbitrary number of parameters? And those parameters be a type, like generics? For example

vb.net Code:
  1. Public Class Test (Of T1, (Of T2))'The (Of T2) means that after the first parameter can be an arbitrary number of parameters
  2.     Public Sub New (Of T1, (Of T2))
  3.         ...
  4.     End Sub
  5.     ...
  6. End Function
  7.  
  8. Dim a As Test (Of String, Of Integer, Of Short, Of Long)