Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/User-input-Text/C-sharp/user-input-text.cs
Normal file
17
Task/User-input-Text/C-sharp/user-input-text.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
|
||||
namespace C_Sharp_Console {
|
||||
|
||||
class example {
|
||||
|
||||
static void Main() {
|
||||
string word;
|
||||
int num;
|
||||
|
||||
Console.Write("Enter an integer: ");
|
||||
num = Console.Read();
|
||||
Console.Write("Enter a String: ");
|
||||
word = Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue