<(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
| Here I am new user to C#, my problem is I have to use dynamic Array of
| objects. But I heard C# don't support ptrs (using managed code C#
| support).
|
| In short i initialized objects of 1000 and I am using is upto 10 or
| less. Because of that I find 990 reset of them as un initialized
| objects, when I extract the information from the Object it will throw
| an exception also and I feel unnecessarily I am wasting of memory.
| So I need dynamic allocation of the objects so can any body give me
| some samples or suggestion then it will be very help full
The why don't you use a dynamic list ? Use ArrayList in .NET 1.1 or List<T>
in .NET 2.0.
Joanna
--
Joanna Carter [TeamB]
Consultant Software Engineer