打印

看看这里switch around怎么理解

[复制链接]
1718|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mxh0506|  楼主 | 2008-3-26 22:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
You use FileAccess in conjunction with several file I/O classes.Your must indicate both the enumeration name and the member name separated by a period, as here:
  file.Open(FileMode.CreateNew, FileAccess.ReadWrite)
FileMode is another enumeration in the System.IO class. If you were to switch around these two enumerations in the Open method, the compiler would report an error.

相关帖子

沙发
平常人| | 2008-3-26 22:25 | 只看该作者

在两者之间转换

使用特权

评论回复
板凳
iC921| | 2008-3-27 20:32 | 只看该作者

感觉没问题!

使用特权

评论回复
地板
mxh0506|  楼主 | 2008-3-28 22:14 | 只看该作者

多谢两位

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

85

主题

1601

帖子

2

粉丝