I have a quite complex problem where I have an already populated list of a structure and I need to edit the individual items.
Here's an example of code that does not work for me:
Public Class Form1
Private Structure myStringStructure
Dim mystr As String
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim hj As New List(Of myStringStructure)
hj(0).mystr = "hmm"
It tells me that: "Expression is a value and therefore cannot be target of an assignment."
So how do I edit the mystr of the lists entry 0. ?
Thanks in advance