using System; public class Test{ static int GetInt() { return int.Parse(Console.ReadLine()); } public static void Main() { uint x = GetInt(); }}
-1
prog.cs(10,14): error CS0266: Cannot implicitly convert type `int' to `uint'. 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!