c sharp algo development