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
Dynamic array in c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Annie Calvert15 pointsPosted Aug 3, 2012, 9:36 PM EDT
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