+ 1

Conversion To Double & Character

When I used this conversion for double , it gives an error. c=Convert.ToDouble(Console.Readline()); While I tried same syntax for user input as of string,it shows an error d=Console.ReadLine(); Then I tried below one , still it gives an error message d=Convert.ToCharacter(Console.Readline());

26th May 2017, 12:33 PM
Kalpesh Dhamne
1 Respuesta
+ 1
Console.ReadLine(); ... Line has a capital L
26th May 2017, 12:58 PM
LordHill
LordHill - avatar