How to convert this code with switch expression and comparison operations

前端 未结 0 1163
小蘑菇
小蘑菇 2020-12-31 01:37

I implemented the code using if...else.. This is working properly.

public static byte GetLengthWithCascadedIfElse(int number)
        {
            if (number         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题