Reply Review

Reply to:

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????

Message:
Name:
Email:
(optional)
(Your email that entered here will not show anywhere on website and will use only reference when someone reply your post)
  I want to receive a copy of email on this post (your email is needed)
 
Code:
 
 
Search this site
Programming Tutorial
CSharp (21)
PHP (12)
HTML (12)
ASP (14)