I created a List using this code.
Now when I try to access the elements of the list, the compiler displays this error:
Can someone suggest how to solve this problem?
This is how I try to access each element in the list and add it to the ListBoxRow: