李白有唐诗《早发白帝城》“朝辞白帝彩云间千里江陵一日还两岸猿声啼不住轻舟已过万重山”
将该诗按传统直列的方式输出
轻两千朝
舟岸里辞
已猿江白
过声陵帝
万啼一彩
重不日云
山住还间
将该诗按传统直列的方式输出
轻两千朝
舟岸里辞
已猿江白
过声陵帝
万啼一彩
重不日云
山住还间
1
char[] c =
2
"朝辞白帝彩云间千里江陵一日还两岸猿声啼不住轻舟已过万重山".ToCharArray();
3![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
4
for (int i = 0; i <= 6; i++)
5
{
6
System.Console.Write(c[i + 21]);
7
System.Console.Write(c[i + 14]);
8
System.Console.Write(c[i + 7]);
9
System.Console.Write(c[i]);
10![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
11
System.Console.WriteLine("");
12
}
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
2
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
3
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
4
![](https://www.cnblogs.com/Images/OutliningIndicators/None.gif)
5
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
6
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
7
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
8
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
9
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
10
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
11
![](https://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif)
12
![](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif)