首页
充值
搜
< 返回列表
在 C# 中,如何定义枚举类型?
科目名称:C高级程序设计及应用
试卷号:99999
题型:单选题
题目:在 C# 中,如何定义枚举类型?
选项:A. A. enum Color { Red, Green, Blue }; B. B. int[] Color = { "Red", "Green", "Blue" }; C. C. string[] Color = { "Red", "Green", "Blue" }; D. D. Color Red = 1, Green = 2, Blue = 3;
需要1积分查看
答案:A. enum Color { Red, Green, Blue };
查看答案
国开题库网
版权信息-国开题库网-www.guokaitikuwang.com 备案号 粤备65168151