By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,464 Members | 1,598 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,464 IT Pros & Developers. It's quick & easy.

Delete array item

P: n/a

How can I remove an item from an array?

for ( int i = 0; i < myArray.Length; i++ ) {

if ( myArray[i].Status == "yes" ) {
// Delete from array



Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Arjen <bo*****> wrote:
How can I remove an item from an array?

You can't. Arrays are of a fixed size in .NET. You might want to look
at the ArrayList class.

Jon Skeet - <sk***>
If replying to the group, please do not mail me too
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.