using System; using System.Collections; class MainClass { static void Main(string[] args) { ArrayList a = new ArrayList(10); ArrayList.Synchronized(a); } }