FileStream fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);和FileStream fs1;fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);把这两个实例化代码放在循环里、会

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 22:04:54

FileStream fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);和FileStream fs1;fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);把这两个实例化代码放在循环里、会
FileStream fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);
和FileStream fs1;
fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);
把这两个实例化代码放在循环里、会有什么不同?

FileStream fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);和FileStream fs1;fs1 = new FileStream(DataHelper.URLPlace,FileMode.OpenOrCreate,FileAccess.ReadWrite);把这两个实例化代码放在循环里、会
这能有什么不同?效果一样的啊 一个是定义变量时就赋值,一个选定义再赋值
把FileStream fs1放循环外的话也最多就只是只定义一次而以