01 2016 档案
摘要:声明数组int[] myArray;初始化数组myArray = new int[4];数组是引用类型当初始化完毕后,将在托管堆上分配内存空间,其结构图如下声明和初始化放在一起int[] myArray = new int[4]int[] myArray = new int[4] {4, 7, 11...
阅读全文
摘要:The ToString() MethodFor example:int i = 50;string str = i.ToString(); // returns "50"Here’s another example:enum Colors {Red, Orange, Yellow};// late...
阅读全文
摘要:using System.Security.AccessControl; //设置myFloder文件夹的iis访问权限 string userAccount = @"IIS_IUSRS"; string filePath = @"C:\inetpub\myFloder"; DirectorySec
阅读全文