Hello,
just a simple noob question, I have a list of like 100 words, and i want only lets say to list 40-50 words out of 100, for example, 1-100, but i want row 40-50 to only be displayed.... any way i can do that without having to type out like one at a time to display in a listbox... but instead display row 40-50?
Thanks
Its only funny till someone gets hurt.... THEN ITS HILARIOUS
I don't know what you mean by "list" so I assume its System.Collections.Generic.List. Something like this might help:
Now if you are using something else that for statement should still work fine.Code:for(int i = 40;i<=50;i++) { Console.Writeline(listName[i]); }
I think you are correct Quackware, thanks for the info, this will work![]()
Its only funny till someone gets hurt.... THEN ITS HILARIOUS
Opps forgot to say, You are correct Quackware, i should of thought of that... DUH!!!!, ya i am using Generic List, so ya that will work perfect, thank you.
Its only funny till someone gets hurt.... THEN ITS HILARIOUS
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks