joshuadavidlee
asked on
How do I delete an object from an array in c# 3.0 ?
i can't find a method in the intellisense like remove(object o) for example
Also I have a current reference to the object I want to remove
Also I have a current reference to the object I want to remove
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Copy the elements above the element you want to remove down one. Use Array.Copy or Array.ConstrainedCopy. Then Array.Resize if you wish.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER