我使用'或'进行按位操作,在c#中我使用| ? [英] Do I use 'or' for bitwise operations where in c# I use | ?

查看:59
本文介绍了我使用'或'进行按位操作,在c#中我使用| ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否使用''或''进行按位操作,在c#中我使用| ?

Do I use ''or'' for bitwise operations where in c# I use | ?

推荐答案




-

OHM(Terry Burns) *使用以下内容给我发电子邮件*


Dim ch()As Char =" ufssz / cvsotAhsfbuTpmvujpotXjui / OFU" .ToCharArray()

For i As Int32 = 0到ch.Length - 1

ch(i)= Convert.ToChar(Convert.ToInt16(ch(i)) - 1)

下一页
Process.Start(" mailto:"& New String(ch))

-

" Emilio"百分比抑制率空隙] GT;在留言中写道

新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Yes

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Emilio" <[void]> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
我是使用''或''进行按位操作,在c#中我使用| ?
Do I use ''or'' for bitwise operations where in c# I use | ?



" Emilio"百分比抑制率空隙] GT; schrieb:
"Emilio" <[void]> schrieb:
我是否使用''或''进行按位操作,在c#中我使用| ?
Do I use ''or'' for bitwise operations where in c# I use | ?




''或''< - > ''|''(按位)

''OrElse''< - > ''||''(逻辑)


-

Herfried K. Wagner [MVP]

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



''Or'' <-> ''|'' (bitwise)
''OrElse'' <-> ''||'' (logical)

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


除了OHM


''或''可以作为这是合乎逻辑的,但不是像C#一样的方式。

''OrElse''


Cor
In addition to OHM

''Or'' can as well be logical however not in the way as C# that one is
''OrElse''

Cor

这篇关于我使用'或'进行按位操作,在c#中我使用| ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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