18 lines
210 B
C#
18 lines
210 B
C#
using System;
|
|
|
|
class IgralnayaKost
|
|
{
|
|
Random r;
|
|
|
|
public IgralnayaKost()
|
|
{
|
|
r = new Random();
|
|
}
|
|
|
|
public int random()
|
|
{
|
|
int res = r.Next(6) + 1;
|
|
return res;
|
|
}
|
|
}
|