using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace 도리도리
{
class Program
{
static void Main(string[] args)
{
int x = 0;
bool stat = true;
Console.WriteLine("좌우 도리도리");
while(x
{
Console.Clear();
Console.SetCursorPosition(25, 10);
Console.WriteLine("~(°ㅅ °~)");
Thread.Sleep(200);
Console.Clear();
Console.SetCursorPosition(27, 10);
Console.WriteLine("(~° ㅅ°)~");
Thread.Sleep(200);
x++;
}
}
}
}
------------------------------------------
이렇게 코딩을 하면 Console.Clear(); 가 실행되면서 창이 싹다 지워지는데
제목으로 써둔 Console.WriteLine("좌우 도리도리"); 를 살리고 싶은데
어떻게 해야함?????
console.clear대신 라인삭제를 해야것지 구글링 해봐
아하 ㄳㄳㄳㄳ