public void Draw Console ForegroundColor ConsoleColor Green Console Se

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
public void Draw()
{
Console.ForegroundColor = ConsoleColor.Green;
Console.SetCursorPosition(Tail[0, 0], Tail[0, 1]);
Console.Write("0");
Console.ForegroundColor = ConsoleColor.White;
for (Int32 i = 1; i < xLen; i++)
{
Console.SetCursorPosition(Tail[i, 0], Tail[i, 1]);
Console.Write("o");
}
}