What does | (pipe) mean in c#?

前端 未结 6 1064
鱼传尺愫
鱼传尺愫 2020-12-03 17:23

Just wondering what the pipe means in this? ive never seen it before:

FileSystemAccessRule fullPermissions = new FileSystemAccessRule(
             \"Network         


        
6条回答
  •  时光说笑
    2020-12-03 17:57

    It's a bitwise OR of two values, presumably it creates a FileAccessRule with both FullAccess and Modify permissions set.

提交回复
热议问题