摘要: string类型 构造函数 public string(char[] value) public string(char[] value,int offset,int count) 拼接字符串: + or += 比较字符串 public static int Compare(string strA, 阅读全文
posted @ 2021-06-19 10:04 番茄玛丽 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 命名法: Pascal 帕斯卡命名法:所有单词首字母大写 camel 驼峰命名法:从第二个单词开始首字母大写 1.主函数 Main static void Main(string[] args){} 必须定义为static M必须大写,C#区分大小写 返回值只能是 void 或 int 2.变量 类 阅读全文
posted @ 2021-06-19 09:57 番茄玛丽 阅读(113) 评论(0) 推荐(0) 编辑