Console.ReadLine() Method in C
Console.ReadLine() Method in C . The console.readline() returns a string. Console.wrinteline (enter a number that will be converted to binary) dectobin = int32.parse (console.readline ()); HELP! Console.ReadLine() Crash C Dream.In.Code from www.dreamincode.net Console.write(enter a value between 1 and 4); By default, the console.readline () method in c# reads a string value from the console. You need to declare myid as int before you pass it to int.tryparse.