class Range
{
public int Min { get; set; }
public int Max {get; set; }
}
Range[] A;
int [] mass = new int[5];
int a = 15;
int b = 66;
public void AddInt(int number)
{
if (number > 0 & number <= 20)
{
mass[0] = number;
}
else if (number > 20)
{
mass[1] = number;
}
}
AddInt(a);
AddInt(b);