2
Answers

NP101 Synchronized()

Maha

Maha

16y
1.8k
1

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)