• 大小: 12.23 MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: c#  源码  编程  

资源简介

C#精彩编程百例源代码

资源截图

代码片段和文件信息

//c# source file: 8_2.cs
//使用switch语句传递参数

using System;

class Test
{
   static void Main(string[] args) {
      switch (args.Length) {
         case 0:
            Console.WriteLine(“No arguments were provided“);
            break;
         case 1:
            Console.WriteLine(“One arguments was provided“);
            break;
         default:
            Console.WriteLine(“{0} arguments were provided“args.Length);
            break;
      }
   }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2002-11-09 15:36  C#精彩编程百例(源代码)\
     文件       22834  2002-11-09 15:30  C#精彩编程百例(源代码)\023.GIF
     文件         233  2002-11-09 15:30  C#精彩编程百例(源代码)\abubull1.gif
     文件          94  2002-11-09 15:30  C#精彩编程百例(源代码)\abubull2.gif
     文件         104  2002-11-09 15:30  C#精彩编程百例(源代码)\abubull3.gif
     文件        1095  2002-11-09 15:30  C#精彩编程百例(源代码)\aburule.gif
     文件         796  2002-11-09 15:30  C#精彩编程百例(源代码)\bot.htm
     文件         705  2002-11-09 15:30  C#精彩编程百例(源代码)\bubkgnd.gif
     目录           0  2002-11-09 15:45  C#精彩编程百例(源代码)\CSharpSource\
     文件     2653676  2002-11-09 15:30  C#精彩编程百例(源代码)\CSharpSource.exe
     文件        1203  2002-11-09 15:30  C#精彩编程百例(源代码)\CSharpSource1.htm
     文件         486  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\2-2.cs
     文件        3584  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\2-2.exe
     文件        1006  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\3-1-1.cs
     文件        1006  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\3-1.cs
     文件        3584  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\3-1.exe
     文件        3042  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-1.cs
     文件        5120  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-1.exe
     文件        3039  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-2.cs
     文件        5120  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-2.exe
     文件        3041  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-3.cs
     文件        5120  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\4-3.exe
     文件        2755  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\5-1.cs
     文件        5632  2002-11-09 15:36  C#精彩编程百例(源代码)\CSharpSource\5-1.exe
     文件        1480  2002-11-09 15:37  C#精彩编程百例(源代码)\CSharpSource\AboutBox.cs
     文件        4096  2002-11-09 15:37  C#精彩编程百例(源代码)\CSharpSource\AboutBox.exe
     文件        1376  2002-11-09 15:37  C#精彩编程百例(源代码)\CSharpSource\AboutBoxExample.cs
     文件        4096  2002-11-09 15:31  C#精彩编程百例(源代码)\CSharpSource\aboutboxexample.dll
     文件        4096  2002-11-09 15:31  C#精彩编程百例(源代码)\CSharpSource\ac.exe
     文件         131  2002-11-09 15:37  C#精彩编程百例(源代码)\CSharpSource\ADD.CS
     文件         119  2002-11-09 15:37  C#精彩编程百例(源代码)\CSharpSource\AddItem.cs
............此处省略1022个文件信息

评论

共有 条评论