Tanvir wrote on 2011-10-28 09:32:11
suppose I have struct that I add to an arraylist.
eg:
public struct MyStruct
{
public string Name;
public string Roll
}
after initiating this struct as myStruct I add value to this and add this to an arrar list.
myStruct.Name = "tanvir";
myStruct.Roll = "58";
and myArraylist.add(mystruct);
if I want to edit value eg. I want change name from tanvir to bappi how can I do this????