1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Removing All List Items

Discussion in 'C#' started by imported_GAME, Aug 31, 2010.

  1. imported_GAME

    imported_GAME New Member

    Joined:
    Aug 31, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    How can I remove all the items of a list? I do not know any thing about how the items get indexed, thats why I cannot provide a better code except this..

    for (int i = 0; i < _Cars.Count; i++)
    {

    }
     

Share This Page