摘要: while语句 for循环语句 c Console.WriteLine("请输入n的值"); int num = Convert.ToInt32(Console.ReadLine()); int sum = 0; for(int i = 0; i 阅读全文
posted @ 2019-04-03 15:27 cicarius 阅读(171) 评论(0) 推荐(0) 编辑
摘要: switch语句 阅读全文
posted @ 2019-04-03 15:17 cicarius 阅读(781) 评论(0) 推荐(0) 编辑
摘要: C 类型分为两种 值类型 bool sbyte(8位) short(8位) ushort() int uint long ulong char(16位) float double 引用类型 类 接口 委托 oject string 值类型与引用类型区别 值类型与引用类型转换 将int转化成oject 阅读全文
posted @ 2019-04-03 10:12 cicarius 阅读(445) 评论(0) 推荐(0) 编辑