aalhour / aalhour/C-Sharp-Algorithms

SLinkedList bug

Open
#148 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
6.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

when code write is
var s = new SLinkedList();
foreach (var item in s)
{
Console.WriteLine(item);
}

function MoveNext _current is null

public bool MoveNext()
{
_current = _current.Next;

return (this._current != null);
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.