Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么无符号字节符合 CLS 而不是有符号字节?所有其他无符号类型都不符合 CLS,但它在字节上正好相反。
sbyte x = 1; //NOT CLS Compliant byte y = 1; //CLS Compliant