public static void Main()
byte[] result = test("20;20");
Console.WriteLine(result[0].ToString());
Console.WriteLine(result[1].ToString());
Console.WriteLine(System.Text.Encoding.ASCII.GetString(result));
public static byte[] test(string value){
int offset = System.Convert.ToInt32(System.Convert.ToByte(' '));
int[] splittedTerm = value.Split(";").Select(x => System.Convert.ToInt32(x)).ToArray();
byteValue[0] = System.Convert.ToByte(splittedTerm[0] + offset);
byteValue[1] = System.Convert.ToByte(splittedTerm[1] + offset);