开发者

c# - WriteLine overlap

Is it possible to write a loop that will write to the console with overlapping text?

Desired output:

c# - WriteLine overlap

Notice how the lines overlap. I was using '|' vertically and 开发者_如何学编程'-' horizontally.

The vertical line is the 4th column and the horizontal line is the 3rd row.

I know this is way off:

 for (int i = 1; i <= 4; i++)
            {
                Console.Write("    |   ");
                for (int x = 1; x <= 6; x++)
                {
                    Console.Write("    -   ");
                }
            }


Try Extended ASCII Codes. These might help you draw pretty pseudographics:

╒╥╦╫
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜