The reason you get garbage back from the online converters is that they (still) don't handle generics. Try using the trial/demo version of any commercial C# to VB converter instead.
The equivalent VB code is:
VB Code:
Private Private _slaves As List(Of Viewport3D) Public Property Slaves() As List(Of Viewport3D) Get If _slaves Is Nothing Then _slaves = New List(Of Viewport3D)() End If Return _slaves End Get Set _slaves = Value End Set End Property




Reply With Quote