I have list of structure. I want to modify a particular data from the structure.
And the structure is at the particular index location of the List.

I want to do something like this:

```
struct sample
{
  int a;
  string name;
}

List<sample> list = new List<sample>();

for(int i=0; i < list.Count; i++)
{
  list[i].a = someotherlist[i].data;
}

```