>>>>It doesn't like this line:
>>>>
>>>>
>>>>ArrayList list = new ArrayList() { "One", "Two", "Three" };
>>>>
>>>>Do you know how can I fix it?
>>>>
>>>
>>>What does the error message say?
>>>
>>>I'm going to guess you are missing:
>>>
>>>using System.Collections;
>>>
>>>Add that to the top of the .cs file.
>>
>>I think the problem is that she is using an ArrayList instead of an Array. AFAIK, you can't add items to an ArrayList like she is trying.
>
>Sure you can. It works on my machine <g>
>
>Actually, she's probably running the 1.1 version of the .NET framework. 2.0 and later that syntax works.
Must be a C# thing then? It's not working for me in VB.