I always see the 1U code in C# especially in styles in OPEN XML SDK 2.0. Does anybody know the meaning of it?
U
表示数字是无符号常量。
It's an unsigned literal
.
For example, if you do:
var u = 1U;
Console.Write(u.GetType());
It'll tell you that it's a System.UInt32
.
See the C# spec for details.
它指定您具有值为1的unsigned int 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.