以下程序的输出结果是( ) enum Color { Red, Green = 2, Blue } static void Main(string[] args) { Color c = 0; Color c1 = (Color )2; Console.WriteLine("{0},{1}", c,c1 ); Console .Read (); }
A.
Green,Red
B.
Red,Green
C.
Red,Blue
D.
Green,Blue
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】听力原文:W: How are you getting on, White? Are you still working for the Merry Lynch Bank? M: Yes, Kitty, that's right. W: I suppose you know quite a lot about banking by now, don't you? M: Oh, yes. To te...
【单选题】听力原文:M: I hear you and Mike are engaged at last. W: Yes, we are. M: When are you getting married? W: In spring. M: That's wonderful. Where is the wedding going to be? W: We are not sure yet. Perhaps i...
【单选题】听力原文:W: Mr. Long, can you transfer me to another department? M: Why? Getting tired of your job? W: Actually, I'm getting tired of Nora Hunter. M: You mean 'noisy' Nora? W: How do you know about her? M...
【单选题】听力原文:W: Mr. Long, can you transfer me to another department? M: Why? Getting tired of your job? W: Actually, I'm getting tired of Nora Hunter. M: You mean 'noisy' Nora? W: How do you know about her? M...
【单选题】听力原文:W: So, you'll be getting dressed up later--before you go to the BBC television studios. M: Yes, but to tell you the truth, Mary, I prefer working in radio. W: You prefer radio? M: That's right. Y...
【单选题】听力原文:W: How are you getting on with your experiment? M: In spite of my continuous failure, I have already made some progress. What can we learn about the man's enperiment ?