怕又忘記,所以記下來. string binary = System.Convert.ToString(8, 2); →1000. 但我的需要顯示8個bit,所以我要向左邊位元補0,所以使用PadLeft.
確定! 回上一頁