using System; public class Test{ public static void Main() { byte x = byte.Parse(Console.ReadLine()); byte y = byte.Parse(Console.ReadLine()); byte z = x + y; Console.WriteLine(z); }}
123 221
prog.cs(9,14): error CS0266: Cannot implicitly convert type `int' to `byte'. An explicit conversion exists (are you missing a cast?) Compilation failed: 1 error(s), 0 warnings
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!