|
-
May 29th, 2009, 01:47 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Keep last 10 numbers in List.
Hello, i want to keep only the last 10 numbers in a List.
The list is declared as:
Dim LastPlayed As New List(Of Integer)
I then Add several Items, each time checking LastPlayed.Count is no bigger than 10.
If it is, i only want to keep the 10 most recent numbers.
How would i do this?
It's been driving me nuts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|