How to create a list in a list?

I want to create another section in a single list variable. How can I do that?
Example: I have declared an empty list variable named as “A”. Now I want to create another list in the same list “A” and another section “B” in it. Just like an array!

use the add items to list together with the sublist as item



Thanks for your reply! But how can I store some values in the specific section in the list? Example: If i created only one list variable as “User details” and created 2 columns in it: One for phone number and one for email address. Then how can I store phone number and email address separately in the specific columns in a single list variable?

add items to list listUserDetails
                  make a list textboxPhoneNumber.Text



Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.