using System; public class Test{ public static void Main() { } public byte GetBay() { sbyte temp = -1; return temp; }}
Standard input is empty
prog.cs(13,9): error CS0266: Cannot implicitly convert type `sbyte' 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!