1:how to add values from user in array that is dynamic array we dont know how much values user will enter
2:after then sort that array
3:enter the element to remove from user
4:deleting all items
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Annie CalvertPosted Aug 4, 2012, 1:36 AM
This code snippet assumes that you have a using directive for System.Linq at the top of your file.
On the other hand, if you're looking for something that can be dynamically resized, as it appears is the case for PHP (I've never actually learned it), then you may want to use a List instead of an int[].
http://www.dapfor.com/en/net-suite/net-grid/tutorial/data-sorting