Convert bool to int
(int) ((this.SetmnType == NewmnType.mbol) ? 1 : 0)
Convert float to int
(int)(float)90f:
Convert bool to int
(int) ((this.SetmnType == NewmnType.mbol) ? 1 : 0)
Convert float to int
(int)(float)90f:
转载于:https://www.cnblogs.com/greencolor/archive/2010/04/15/1712532.html