摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-17 15:00 翻滚吧炒鸡蛋 阅读(268) 评论(0) 推荐(0) 编辑
摘要: F5运行设置断点,在断点暂停F10 (逐过程)当遇到方法调用时不再进去,直接运行,不进里面调试F11 (逐语句)当遇到方法调用时进去Shift+F11 (跳出)跳出所在方法 阅读全文
posted @ 2015-12-17 14:36 翻滚吧炒鸡蛋 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 定义方法的语法://Public []括号表示可选,可用可不用[访问修饰符][static]返回值类型 方法名([参数]){ 方法体}注意:方法一般要定义在类中如果方法没有返回值,则返回值类型写void如果方法没有参数,()不能省略方法的调用:如果是静态方法(由static修饰的)则使用 类名... 阅读全文
posted @ 2015-12-17 12:11 翻滚吧炒鸡蛋 阅读(205) 评论(0) 推荐(0) 编辑
摘要: String.ToString 方法.NET Framework 4.6 and 4.5将此实例的值转换为String。命名空间:System程序集:mscorlib(mscorlib.dll 中)名称说明ToString()返回String的此实例;不执行实际转换。(替代Object.ToStri... 阅读全文
posted @ 2015-12-17 03:36 翻滚吧炒鸡蛋 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-17 03:16 翻滚吧炒鸡蛋 阅读(234) 评论(3) 推荐(0) 编辑