Maha

Maha

  • NA
  • 0
  • 324.8k

NP101 Synchronized()

May 15 2008 9:27 AM

Hi Guys

 

NP101 Synchronized()

 

http://www.java2s.com/Tutorial/CSharp/0220__Data-Structure/Getthenumberofelements.htm

 

Following incomplete program is given in the above website. This program is intended to explain Synchronized(); method. Please complete the program.

 

Thank you

 

using System;

using System.Collections;

 

class MainClass

{

   static void Main(string[] args)

   {

      ArrayList a = new ArrayList(10);

      ArrayList.Synchronized(a);

   }

}


Answers (2)