Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store 0 to array
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Store 0 to array
Miscellaneous
Thread ID:
00886355
Message ID:
00886355
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform