Bunny in csharp

This commit is contained in:
Paul Sobolik
2022-02-06 16:30:50 -05:00
parent 0d9aaaecc8
commit 9517d86f29
3 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bunny
{
internal class BasicData
{
private readonly int[] data;
private int index;
public BasicData(int[] data)
{
this.data = data;
index = 0;
}
public int Read()
{
return data[index++];
}
}
}