infinit range loop c#
public IEnumerable<int> InfiniteCounter()
{
int counter = 0;
while (true)
{
unchecked
{
yield return counter;
counter++;
}
}
}
Are there any code examples left?
New code examples in category C#