cs-codex-dist-tests/Utils/NumberSource.cs

20 lines
309 B
C#

namespace Utils
{
public class NumberSource
{
private int number;
public NumberSource(int start)
{
number = start;
}
public int GetNextNumber()
{
var n = number;
number++;
return n;
}
}
}