[rui] update binary-search.js
[rui] add c# ways for binary search