if you want to open a file that exists or create it otherwis
来源:学生作业帮 编辑:拍题作业网作业帮 分类:英语作业 时间:2024/04/25 06:23:14
if you want to open a file that exists or create it otherwise,which of the following is right?
a)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.Create,FileAccess.Write);
b)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.CreateNew,FileAccess.Write);
c)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.Open,FileAccess.Write);
d)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.OpenOrCreate,FileAccess.Write);
a)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.Create,FileAccess.Write);
b)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.CreateNew,FileAccess.Write);
c)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.Open,FileAccess.Write);
d)FileStream fs=new FileStream(“c:\\myfile.txt”,FileMode.OpenOrCreate,FileAccess.Write);
最后一个啊,OpenOrCreate就是文件存在直接打开,不存在则创建该文件的
if you want to open a file that exists or create it otherwis
This file already exists,do you want to overwrite it?
选择题:If you want to open a file,piease _____on the icon.
open file failure!Du you want to recover it?如题
cannot open/create file!
you can borrow that car if you( ) A.want to B.want it C.want
Verify that the file exists and that you can access it
Verify that the file exists and that you can access it怎样解决,当
failed to open file, pls check if file is exist or not
If you want a happy life, tie it to a goal, not to people or
请问“A file with that name already exists”是什么意思?
if you want to creat a life of love ,you have to open your h