G
Guest
I'm working on doing a DLL that will give me back random numbers. He is what
I have.
using System;
namespace dieroll
{
public class dieroll : Object
int[] diearray = new int[6];
void RollDie (int count)
{
int x=1;
while (x <= count)
{
diearray [x] = randomNumber.Next(1,8);
x++;
}
}
}
}
When I build it I get {expected
and a Red Line after the public class dieroll : Object
New to this any help would be great!!
I have.
using System;
namespace dieroll
{
public class dieroll : Object
int[] diearray = new int[6];
void RollDie (int count)
{
int x=1;
while (x <= count)
{
diearray [x] = randomNumber.Next(1,8);
x++;
}
}
}
}
When I build it I get {expected
and a Red Line after the public class dieroll : Object
New to this any help would be great!!