Add support for switching on float, double, and decimal.
The code is a sequence of if-then-else tests using value.Equals(input). Someday we might do better using divide-and-conquer.
Showing
想要评论请 注册 或 登录
The code is a sequence of if-then-else tests using value.Equals(input). Someday we might do better using divide-and-conquer.