Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
VB.NET:
Public Class test
Public Property AA As String
Public Property AB As String
Public Property XX As string
End Class
Dim testData As New test with {.AA = "a", .AB ="b", .XX="c"}
For i As Integer = 0 to 2
Next
is it possible to display the values in testData in the For loop with just one line? Are the properties indexed inside a class?