'readline'에 해당되는 글 1건

  1. 2019.09.20 WriteLine, ReadLine Method

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;
using System.Threading.Tasks;
 
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

: