using System; namespace UseDll { /// <summary> /// 实验3 枚举与Type的简单应用 /// </summary> static class Type_3 { public static void Menu() { //数组的下标与菜单选项对应的枚举名称 string[] enumNames = { "", "UseDll.CustomerType",//1 "UseDll.Degree",//2 "UseDll.StaffState",//3 "UseDll.StaffState", //4 "UseDll.Area", //5 "UseDll.SceneType"//6 }; Enum[] enums ={null, CustomerType.Child, Degree.本科, StaffState.Undefined, TourState.Undefined, Area.Undefined, SceneType.自然山水 }; 以上为部分代码全部代码请下载 解压密码:www.dsbpad.com
- 粉丝: 2
- 资源: 8
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助