• 楚光明c#教程学习3

    当我们深入观察System.IO这个命名空间时您会发现它是由一 系列针对文件、目录、驱动器进行操作与维护的类的集合。

    0
    37
    1.6MB
    2010-04-24
    0
  • 楚光明c#教程学习2

    楚光明c#教程2 1. public static void Main() 2. { 3. byte a = 1; char b = 'a'; short c = 1; 4. int d = 2; long e = 3; uint f = 4; 5. bool g = true; 6. Console.WriteLine("byte->"+a.GetType().FullName); 7. Console.WriteLine("char->" + b.GetType().FullName); 8. Console.WriteLine("short->" + c.GetType().FullName); 9. Console.WriteLine("int->" + d.GetType().FullName); 10. Console.WriteLine("long->" + e.GetType().FullName); 11. Console.WriteLine("uint->" + f.GetType().FullName); 12. Console.WriteLine("bool->" + g.GetType().FullName);

    5
    51
    635KB
    2010-04-24
    9
  • 楚光明c#教程学习1

    c#教程学习(初学) if语句 1. if(condition) 2. statement(s) 3. else 4. statement(s) int intA=5, intB = 6; if (intA > intB) Console.WriteLine("没有错intA大于intB"); else Console.WriteLine("这种事怎么能出现哪?");

    0
    21
    644KB
    2010-04-24
    2
关注 私信
上传资源赚积分or赚钱