#85: added new interface for c# bagging