*
* *
* *
* *
*
* *
* *
* *
*
解决方案 »
- 怎么给文本框输入的数字,加上双引号。
- C# 中richTextBox1里实现查找全字匹配功能如何实现?
- this object作为形参的问题?
- C#打包好的程序只能用一次?
- 再问一老旧问题,如果我们不用marshal里面的方法在内存中生成的空间是不是都叫托管内存,只有用了marshal或某些类里的特定方法开辟的空间才叫做非托管内存呢?
- 我用NHibernate取到了条记录在Ilist里, 我怎么样把Ilist里的内容取出来呢?
- 如何实现TreeView节点间的拖动?(C# WinForm)
- sos
- 存储过程怎么更新?
- 如何观看csdn邮件内容
- 创建Oracle的directory,如果文件路径为中文,发生错误
- [求助]程序退出报错
Console.WriteLine(@" *
* *
* *
* *
*");
Console.Print(" * * ");
Console.Print(" * * * ");
Console.WriteLine (" * * ");
Console.WriteLine (" * * * ");
<Tr>
<td>
* <br>
* * <br>
* * <br>
* * <br>
*</td>
</tr>
</table>
25c7
◇
25c6
◆
25a1
□
25a0
■
25b3
△
25b2
▲
25cb
○
25cf
●
25ce
◎
2606
☆
2605
★
using System;
class Test
{
static void Main()
{
for(int i=1;i<=6;i++)//控制行数 ,输出图形上半部分
{
for(int k=5;k>=i;k--)
{
Console.Write(" ");
}
for (int x=1;x<2*i;x++)
{
Console.Write("*");
}
Console.WriteLine();
} for(int i=1;i<=5;i++)//控制行数 输出图形下半部分
{
for(int k=1;k<=i;k++)
{
Console.Write(" ");
}
for (int x=11;x>2*i;x--)
{
Console.Write("*");
}
Console.WriteLine();
}
}
}直接写个算法
c里面有个题目就只这样的 挺经典的