If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

List of objects

Well, I'm trying to create a app using Visual Studio 8. I'm new in the c# language...

The problem is that when I add items to a List of objects, and in the end when a do a foreach to see if everything is fine, the result is allways the same... Can anyone help me finding the "bug"?
Here is some code:

Re: List of objects

Originally Posted by licantropo

Well, I'm trying to create a app using Visual Studio 8. I'm new in the c# language...

The problem is that when I add items to a List of objects, and in the end when a do a foreach to see if everything is fine, the result is allways the same... Can anyone help me finding the "bug"?
Here is some code:

Re: List of objects

I really don't understand... In my original app this code does not work...
But when a do a test using a new project, works just fine... with no errors and warnings.
I suppose the problem is somewhere else...