I want to get a variable of int or float in the console .Now can I use this
language below ?
static void Main(string[] args)
{
//
// TODO: ÔÚ´Ë´¦Ìí¼Ó´úÂëÒÔÆô¶¯Ó¦ÓóÌÐò
//
string c=Console.ReadLine();
Console.WriteLine(c);
}
How to get a int or float from the keyboard ?
|