add c# sample