Delete List elements

Discussion in 'ASP .Net' started by shapper, Oct 10, 2007.

  1. shapper

    shapper Guest

    Hello,

    I have a Generic.List(Of String) with 100 elements.
    I want to sort it and delete the last 40 elements.
    Can this be done without a loop?

    And if not, can I convert it to an array and do it in the array?

    Thanks,
    Miguel
     
    shapper, Oct 10, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Jasn
    Replies:
    1
    Views:
    590
    John Harrison
    Nov 1, 2004
  2. Replies:
    0
    Views:
    239
  3. Adam Hartshorne
    Replies:
    2
    Views:
    388
    Nitin Motgi
    Jan 27, 2006
  4. Debajit Adhikary
    Replies:
    17
    Views:
    720
    Debajit Adhikary
    Oct 18, 2007
  5. Angus
    Replies:
    6
    Views:
    1,736
    James Kanze
    Jan 23, 2010
Loading...

Share This Page