using System;

public class 콘솔클래스77p
{
    public static void Main()
    {
        Console.Title = "캡션";
        Console.BackgroundColor = ConsoleColor.Yellow; // 배경색
        Console.ForegroundColor = ConsoleColor.Black; //전경색
        Console.WriteLine("안녕하세요.");
        Console.SetCursorPosition(10, 10); // 커서 위치 변경
        Console.WriteLine("반갑습니다.");
    }
}

'.NET프로그래밍 > C# 3.5 SP1' 카테고리의 다른 글

9. 변수  (0) 2009.08.04
8. 이스케이프시퀀스  (0) 2009.08.04
6. 키보드입력 - ReadKey 예제  (0) 2009.08.04
5. 자리표시자  (0) 2009.08.04
4. 기본입출력문  (0) 2009.08.04
Posted by holland14
: