Hello M.Kannadasan,
possibly the denomination 'container class' is causing a confusion. In fact, the application case is very simple:
Step 1: Add to one of your project units a new class. See also Creating non visual components.
Step 2: Name the class according to its application case (e.g. DataStorage).
Step 3: Open the class for editing.
Step 4: Add to this class an array member.
Step 5: Configure the data type of the values to store in the array as well as its capacity.
That's all. Now you can create objects of this class and access the array existing inside it. The objects can also be assigned to variables, properties or you can pass them in parameters when invoking methods. This of course only when the variables, parameters, etc. are declared with the name of the corresponding class. For example:
var YourUnit::DataStorage data = new YourUnit::DataStorage;
data.Array[0] = ...
data.Array[1] = ...
data.Array[2] = ...
...
// Assuming, Foo is an object implementing a property named Data and
// the property is declared with 'YourUnit::DataStorage' as data type,
// then the data object can be assigned to this property. Thereupon,
// 'Foo' can access the data object and the array found inside it
Foo.Data = data;
I hope it helps you further.
Best regards
Paul Banach