C# 기본) 출력, 입력 메서드
기본 출력문1
Console.WriteLine("Hello World");//Hello World 출력 후 다음 줄로 커서 이동
Console.Write("Hello World");//Hello World 출력 후 옆에 커서 표시
기본 출력문2
Console.WriteLine("출력1 : {0}, {1}, {2}", "hello", 12, 25.53);
Console.WriteLine("출력2:{0,10}, {0,-10}끝", 1234);
Console.WriteLine("출력3: 0x{0:X}, {0:E}, {0:N}", 12345678);
기본 입력
string input = Console.ReadLine();
//OR
string input2;
input2 = Console.ReadLine();
Author And Source
이 문제에 관하여(C# 기본) 출력, 입력 메서드), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@cook8840/C-기본-출력-입력-메서드저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)