4 lines
132 B
C#
4 lines
132 B
C#
for (var current = [head of list to traverse]; current != null; current = current.Next)
|
|
{
|
|
// Do something with current.Value.
|
|
}
|