Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store 0 to array
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Store 0 to array
Divers
Thread ID:
00886355
Message ID:
00886355
Vues:
58
If I decalare an array like this:

int[] _myArray = new int[10];

the initial values are zero. If I then work with the array, what is the easiest way to reset all the values back to zero? In VFP I could just say:

store 0 to myArray

Do I need to loop through the array or is there an equivalent C# command?

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform