摘要: 命名文件名和Class要一致(CamelCase)类公共和保护类型Property(CamelCase)类的公共和保护类型Fields(CamelCase)* 先采用.Net的命名方法,如果出现问题以后改成小写。Methord和Function(CamelCase)私有字段或者Property(_camelCase)parameter(camelCase)定义变量的位置最好在使用前,离得越近越好Type Var var x = 0; //x is an int var x = 0f; //x is a float var x = new Dictionary(); // x ... 阅读全文
posted @ 2013-06-27 16:36 若愚Shawn 阅读(401) 评论(0) 推荐(0) 编辑