Lets have a look and see
static void Main(string[] args)
{
var names = new List<string> { "Homer", "Marge", "Lisa" };
Show(names);
names.Insert(1, "Bart");
Console.WriteLine("Inserted Bart at 1");
Show(names);
names.RemoveAt(0);
Console.WriteLine("Removed Homer");
Show(names);
}
private static void Show(List<string> names)
{
Console.WriteLine("Names");
for (int i = 0; i < names.Count; i++)
Console.WriteLine("\t{0}: {1}", i, names[i]);
}
Gives us . . .
Names
0: Homer
1: Marge
2: Lisa
Inserted Bart at 1
Names
0: Homer
1: Bart
2: Marge
3: Lisa
Removed Homer
Names
0: Bart
1: Marge
2: Lisa
So.
- Adding at the second position, will move the previous second item down to the third item (and pushing everything below that down one position too)
- Removing an item moves everything up by one item
The scientific method helps with questions like these (i.e. theorise, experiment, observe, repeat as necessary)
Does this answer your question?