随着 - 结束 [英] With - End With

查看:81
本文介绍了随着 - 结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C#中是否存在With< some obj>的模拟 - 结束建设

VB?


谢谢。

解决方案

没有类似的项目。


干杯,

Greg Young

" Vik" < viktorum @ == yahoo.com ==>在消息中写道

新闻:%2 *************** @ TK2MSFTNGP02.phx.gbl ...

是否有C#是With< some obj>的类比。 - 结束用VB构建吗?

谢谢。



排序......你可以使用缩写的临时变量。

参见:
http://www.tangiblesoftwaresolutions...0VB%20With.htm

-

David Anton
www.tangiblesoftwaresolutions.com

即时C#:VB到C#转换器

即时VB:C#到VB转换器

即时C ++:C#到C ++转换器& VB到C ++转换器

即时J#:VB到J#转换器


" Vik"写道:

在C#中是否存在With< some obj>的模拟 - 结束用VB构建吗?

谢谢。



" Vik" < viktorum @ == yahoo.com ==>在消息中写道

新闻:%2 *************** @ TK2MSFTNGP02.phx.gbl ...

是否有C#是With< some obj>的类比。 - 结束建设
VB?




幸运的是没有。


Michael


Is there in C# an analog of the With <some obj> - End With construction of
VB?

Thanks.

解决方案

There is no comparable item.

Cheers,

Greg Young
"Vik" <viktorum@==yahoo.com==> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...

Is there in C# an analog of the With <some obj> - End With construction of
VB?

Thanks.



Sort of... you can use abbreviated temporary variables.
See:
http://www.tangiblesoftwaresolutions...0VB%20With.htm
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter & VB to C++ converter
Instant J#: VB to J# converter

"Vik" wrote:

Is there in C# an analog of the With <some obj> - End With construction of
VB?

Thanks.



"Vik" <viktorum@==yahoo.com==> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...

Is there in C# an analog of the With <some obj> - End With construction of
VB?



Luckily no.

Michael


这篇关于随着 - 结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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