2020年12月29日
摘要: class Program { static void Main(string[] args) { //值类型,观察a的值 int a = 20; int b = a; b += 5; //引用类型,观察score1的值得变化 int[] score1 = { 29, 79, 30, 12 }; i 阅读全文
posted @ 2020-12-29 17:56 cq752522131 阅读(47) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { //数组使用的基本步骤 //[1]声明数组 int[] scores; //[2]分配空间 scores = new int[5]; //[3]赋值 scores[1] = 4; //[4]处理数据 scores[1] = scor 阅读全文
posted @ 2020-12-29 17:54 cq752522131 阅读(41) 评论(0) 推荐(0)