• Saves Valuable Time
  • Trusted Accuracy for 14 Years
  • 15-Day Money-Back Guarantee

VB Equivalent to C# Indexers

public int this[int index]
        return field[index];
        field[index] = value;
Public Default Property Item(ByVal index As Integer) As Integer
        Return field(index)
    End Get
    Set(ByVal value As Integer)
        field(index) = value
    End Set
End Property

Use Instant VB to convert from C# to VB.NET.     

Additional resource: VB.NET and C# Equivalents

Copyright © 1997 – 2018 Tangible Software Solutions Inc.