المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Clearing an array of images



C# Programming
04-29-2010, 01:01 PM
Hi.

I have an array of images like:
Image[] images = new Image[3];
After populating it with three images, i want to remove all of them and prepare it for the next set of three images by clearing the array. i have tried:

images.Clear();
as in an array but this does not work. How do i remove the images?

Thank you in advance.
Wamuti: Any man can be an island, but islands to need water around them!
Edmund Burke: No one could make a greater mistake than he who did nothing because he could do only a little.