S
Sam
Hi All
I'm a c# newbie and I'm having trouble with "vb to c# conversion".
Basically, I have 2 properties which allow me to access elements of each
array (_osVert and _wsVert) of points. The below is what I have in vb. Would
some one help me out? I was thinking to use indexer method but both
properties have the same argument signature.
Regards,
Sam
Public Property OC(ByVal index As Integer) As Point
Get
Return (_osVert(index))
End Get
Set(ByVal value As Point)
_osVert(index) = value
End Set
End Property
Public Property WC(ByVal index As Integer) As Point
Get
Return (_wsVert(index))
End Get
Set(ByVal value As Point)
_wsVert(index) = value
End Set
End Property
I'm a c# newbie and I'm having trouble with "vb to c# conversion".
Basically, I have 2 properties which allow me to access elements of each
array (_osVert and _wsVert) of points. The below is what I have in vb. Would
some one help me out? I was thinking to use indexer method but both
properties have the same argument signature.
Regards,
Sam
Public Property OC(ByVal index As Integer) As Point
Get
Return (_osVert(index))
End Get
Set(ByVal value As Point)
_osVert(index) = value
End Set
End Property
Public Property WC(ByVal index As Integer) As Point
Get
Return (_wsVert(index))
End Get
Set(ByVal value As Point)
_wsVert(index) = value
End Set
End Property