private void button1_Click(object sender, EventArgs e)
{
// Create a new ArrayList
ArrayList numbers = new ArrayList();
// Add some numbers to the list
numbers.Add(7);
numbers.Add(21);
// Get the numbers out of the list
// Notice a cast is required because
// ArrayList only contain objects (untyped)
// This also performs an unboxing operation
int numA = (int)numbers[0];
int numB = (int)numbers[1];
}
Thats my control memory list, but i don't know how to go back and forth with it

New Topic/Question
Reply



MultiQuote



|