using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication1
{
class collectinexample
{
ArrayList mylist = new ArrayList();
mylist.Add("apple");
mylist.Add("grapes");
}
}
this is my code but m getting an error
"Error 1 Invalid token '(' in class, struct, or interface member declaration "
plz help