At that time I joined a jewelry firm and was begining to enjoy selling engagement rings to beautiful ladies(rehearsing "will you marry me" with them". I still work for them. but off lately I am heavily hooked on to .net.
A
ajay12345678
@ajay12345678
Posts
-
what are you doing 5 years ago? -
circular referencing of GENERICSExperts please help. Class parentctrl(Of editctrl) inherits control ' ... code ... End Class Class mylistbox(Of pctrl) inherits control ' .. code ... End Class Now the problem comes when I try to instantiate the class parentctrl providing it with a concrete class in place of the generic. there is an infinite nesting that is created. how do I overcome this. Dim mycombobox as new parentctrl(Of mylistbox(Of parentctrl(Of mylistbox(Of parentctrl(Of mylistbox(Of parentctrl .... )))))) () Is there a keyword like "self" or something that can make the compiler understand that I have provided it enough information to do what i want. If one tries the above code out you will know exactly what the problem is.