|
-
Oct 30th, 2010, 03:20 PM
#8
Re: Custom Generic List
There is no need for patting here, just good explanations and some direction to the correct path, it's easy to get to the wrong truck in the huge world of this .NET framework .
I already understood that the way to go is to inherit from the Collection class as jm wrote in his first comment and that's what i did, but my question is, if for example i want to add the ability for my custom list to rotate in reverse, or to return the index of the current item when using the foreach statement, do i have any access to the list of items from within the class ?
* Rate It  If you Like it
__________________________________________________________________________________________
" Programming is like sex: one mistake and you’re providing support for a lifetime."
Get last SQL insert ID 
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
|