2
0
mirror of synced 2025-01-13 01:54:07 +00:00

20 lines
309 B
C#
Raw Normal View History

2023-04-12 13:53:55 +02:00
namespace Utils
{
public class NumberSource
{
private int number;
public NumberSource(int start)
{
number = start;
}
public int GetNextNumber()
{
var n = number;
number++;
return n;
}
}
}