C#中的进口是???在VB? [英] Imports in C# is ??? in VB?

查看:55
本文介绍了C#中的进口是???在VB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个:


进口(Stream s = response.GetResponseStream()){


int nread;


do {

nread = s.Read(buffer,0,(int)buffer.Length);

fs.Write(buffer, 0,nread);

} while(nread!= 0);

}


如何用VB写这个?


-

干杯,

Crirus


----- -------------------------

如果工作是好事,那么老板就会把这一切都从你那里拿走/>

------------------------------

I have this :

imports (Stream s = response.GetResponseStream()) {

int nread;

do {
nread = s.Read(buffer, 0, (int)buffer.Length);
fs.Write(buffer, 0, nread);
} while (nread != 0);
}

How to write in VB this?

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

推荐答案

*" Crirus" <铬**** @ datagroup.ro> scripsit:
* "Crirus" <Cr****@datagroup.ro> scripsit:
imports(Stream s = response.GetResponseStream()){
imports (Stream s = response.GetResponseStream()) {




你确定它不是在阅读''使用(流s = ......''?


-

Herfried K. Wagner [MVP]

< http ://www.mvps.org/dotnet>



Are you sure it''s not reading ''using (Stream s = ...''?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


这是代码的复制/粘贴

当然


-

干杯,

Crirus


----------- -------------------

如果工作是好事,那么老板就会把这一切都从你身上带走


------------------------------


" Herfried K. 。瓦格纳[MVP]"< hi *************** @ gmx.at>在留言中写道

新闻:ON ****** ******** @ TK2MSFTNGP11.phx.gbl ...
It is copy/paste of the the code
Sure

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ON**************@TK2MSFTNGP11.phx.gbl...
*" Crirus"< Cr **** @ datagroup.ro> scripsit:
* "Crirus" <Cr****@datagroup.ro> scripsit:
进口(Stream s = response.GetResponseStream()){
imports (Stream s = response.GetResponseStream()) {



你确定它不是吗?阅读''使用(Stream s = ...''?

-
Herfried K. Wagner [MVP]
< http://www.mvps。 org / dotnet>



Are you sure it''s not reading ''using (Stream s = ...''?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>



ohh从错误的地方复制/粘贴..它正在使用..我知道keword

意味着

对不起


-

干杯,

Crirus

------------------------------

如果工作是好事,老板会从你那里拿走这一切


------------------------------


" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道

news:ON ************** @ TK2MSFTNGP11.phx.gbl ...
ohh copy/paste from wrong place.. it is using..and I know that keword
meaninig
sorry

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ON**************@TK2MSFTNGP11.phx.gbl...
*" Crirus" <铬**** @ datagroup.ro> scripsit:
* "Crirus" <Cr****@datagroup.ro> scripsit:
imports(Stream s = response.GetResponseStream()){
imports (Stream s = response.GetResponseStream()) {



你确定它不是在阅读''使用(Stream s = ......''?

- Herfried K. Wagner [MVP]
< http://www.mvps.org/dotnet>



Are you sure it''s not reading ''using (Stream s = ...''?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>



这篇关于C#中的进口是???在VB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆