[CS] Fix example which was using callbacks