added interaction<Ctx> class to c# sample code