A
Ashish
Iam wondering if it is possible to narrow down the type definition while
specifying Generics,
for example i want to create my collection class for a particular Type
T, but i want this Type T to be of interface IEntity (something i implement)
so my collection would be like
Public Class MyGenericCollection(Of T)
public sub Save(myObj as T)
end sub
end class
is it possible...
TIA
specifying Generics,
for example i want to create my collection class for a particular Type
T, but i want this Type T to be of interface IEntity (something i implement)
so my collection would be like
Public Class MyGenericCollection(Of T)
public sub Save(myObj as T)
end sub
end class
is it possible...
TIA