C# Winfrom中逆序输出数字
class Program
{
static void Main(string[] args)
{
int n;
while (!int.TryParse(Console.ReadLine(), out n))
Console.WriteLine("try again");
StringBuilder sa = new StringBuilder();
string s = n.ToString();
...
private void button1_Click(object sender, EventArgs e)
{
Application.Exit();
...
Application.StartupPath 属性
获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称。
string strPath = GetBakUpPath() + @"\\bakDataBase\\db_EquipmentMS.bak";
private string GetBakUpPath()
...