C# MessageBox in a Windows Console Program

C# 윈도우 콘솔 프로그램에서 MessageBox 사용하기
1. 콘솔프로그램으로 프로젝트 새로 만들기
2. 솔루션탐색기에서  프로젝트->참조추가를 누른다.사용자 삽입 이미지
3. System.Windows.Form를 추가한다.사용자 삽입 이미지
4. 그리고 코드에 MessageBox.Show(“Hello World!”)를 추가한다.사용자 삽입 이미지
5. 컴파일 & 실행

Leave a Reply

Your email address will not be published. Required fields are marked *