2017年11月7日

c#基础试题

摘要: 1.String类的IndexOf()方法返回的类型是?(选择2项) 答案 BC (int32=int) A.Int16 B.Int32 C.int D.long 2.分析下列程序, 请选择正确的输出结果( A )。 static void Main(string[] args) { int myl 阅读全文

posted @ 2017-11-07 16:30 小败哥哥。 阅读(646) 评论(0) 推荐(0) 编辑

c#对战游戏

摘要: namespace 对战游戏{ class Program { public struct ZhanShi { public string MingZi; public int GongJi; public int XueLiang; } static void Main(string[] args 阅读全文

posted @ 2017-11-07 16:02 小败哥哥。 阅读(494) 评论(0) 推荐(0) 编辑

c# 推箱子游戏

摘要: 1.首先 Console.ReadKey(); 给他个停住属性 2.画地图:string[,] map = new string[10, 10] { {" "," ","■","■","■","■","■","■","■","■"}, {" "," ","■"," "," "," &quo 阅读全文

posted @ 2017-11-07 15:49 小败哥哥。 阅读(514) 评论(0) 推荐(0) 编辑

导航