공부/C#
Console Title명, 창 크기
미다손
2016. 5. 8. 23:52
/*
//c++ 에서는 아래의 같았다.
system("title Son's RPG"); //타이틀 명 수정 "Son's RPG" 을 넣는 것
system("mode con:cols=127 lines=36"); //창크기 127글자, 36글자
*/
//c# 에서는 아래와 같다.
Console.Title = "Son's RPG"; //타이틀 명 수정 "Son's RPG"을 넣는 것
Console.SetWindowSize(127,36); //창크기 127글자, 36글자
//pixel 단위가 아니라 한 글자 크기 단위