need2progm
Programmer
I have an asp.net page that is creating an instance of a class.
Dim myClass as new Class(p1,p2)
In Class I have 3 Constructors
Public Sub New()
'for use with collections
End Sub
Public Sub New(p1,p2)
'lots of code
End Sub
Public Sub New(p1,p2,p3,p4)
'lots of code
End Sub
Only the empty constructor is avaliable. Why?
This is such a simple thing ... I do this all the time Argh!!
Thanks in advance
Dim myClass as new Class(p1,p2)
In Class I have 3 Constructors
Public Sub New()
'for use with collections
End Sub
Public Sub New(p1,p2)
'lots of code
End Sub
Public Sub New(p1,p2,p3,p4)
'lots of code
End Sub
Only the empty constructor is avaliable. Why?
This is such a simple thing ... I do this all the time Argh!!
Thanks in advance