WriteLine, ReadLine Method
C#/API 2019. 9. 20. 09:45코드:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _09._20
{
class Program
{
static void Main(string[] args)
{
string Input = Console.ReadLine();
Console.WriteLine(Input);
}
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#4f4f4ftext-decoration:none">Colored by Color Scripter
|
출력:



참조: https://docs.microsoft.com/ko-kr/dotnet/api/system.console.readline?view=netframework-4.8