没注意的细节

1、网络的MSDN可以看一下英文原文是怎样描述的

1.1有些是机器译的,有些是人工译的。单选按钮可以切换,光标移动到上面也可,如图1;

          http://msdn.microsoft.com/zh-cn/library/system.io.file.aspx

         图1

图1

1.2字体太小除了可以调浏览器“放大镜”,还可以调“查看”-->“文字大小”

1.3MSDN有不同版本,比如下面vb 的声明有一个是有注释的。(我的)

http://msdn.microsoft.com/zh-cn/library/system.io.file.aspx#Y211

http://msdn.microsoft.com/en-us/library/system.io.file.aspx

http://msdn.microsoft.com/en-US/library/system.io.file(v=vs.80)

1.3看c# 的语法时,也可以看一下vb说不定有时会豁然开朗。

如:

File Class
Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects.

Namespace:  System.IO
 

//C# 
[ComVisibleAttribute(true)]
public static class File


 

'Declaration
<ComVisibleAttribute(True)> _
Public NotInheritable Class File
'Usage
The members of a static class are accessed directly without an instance of the class.


 此时vb 的 NotInheritable 就明显地表达意思.(不过不代表 c# 的static 等同于 NotInheritable)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值