I have an Arraylist. In which I want to remove one top element from an Arraylist (i.e. POP in Stack), I used the .Remove () method, but it does not work. Since I can only remove one element from arraylist
For example, if arraytlist contains 96,97,98,99,100 when .RemoveAt (0) is used. Its going to delete element 96, I want to delete element 100 from arraylist, So how can I remove this top element?
source
share