I have been sitting with this code for a while now and I can't seem to understand what to do to get my printList function to actually list ALL the nodes that I've put into the list. It will only display the last one that've been entered.
I tried to search the forums but I didn't find anything that was very helpful to this particlar situation, maybe didn't look well enough.
Yes... I'm quite new to this so bare with me if you see some obvious fails..
Okay I removed the highlighted line all together and now it actually prints as many elements as i put in. however when I print them a windows pops up in visual studio 2010 saying:
An unhandled exception of type 'System.AccessViolationException' occurred in Programname.exe
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.