问题描述
默认情况下使用AndAlso和OrElse是否更好,而不是使用版本和
&或者?
MikeH
Is it better to use AndAlso and OrElse by default rather than the regual And
& Or?
MikeH
推荐答案
它必须是
使用AndAlso AndAlso OrElse默认情况下更好,而不是使用版本
And AndAlso Or?
这不严重,但你有我的答案,
Cor
It has to be
Is it better to use AndAlso AndAlso OrElse by default rather than the regual
And AndAlso Or?
This was not serious, but you have my answer,
Cor
您是否阅读过文档?这取决于具体情况...
-
Herfried K. Wagner
MVP·VB Classic,VB.NET
< http://www.mvps.org/dotnet>
< http://www.plig.net/nnq/nquote。 html>
Did you read the documentation? It depends on the case...
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>
这篇关于AndAlso / OrElse用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!