⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 throw.cs

📁 c#的学习资料 书上的东西 很难找到的啊
💻 CS
字号:
//  Throw.cs -- Intentionally throws an error to demonstrate
//              Just-In-Time debugging.
//
//              Compile this program with the following command line:
//                  C:>csc /debug:full Throw.cs
//
namespace nsThrow
{
    using System;
    class clsMain
    {
        static public void Main ()
        {
            Console.WriteLine ("This program intentionally causes an error.");
            int x = 42;
            int y = 0;
            int z = x / y;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -