Update example for c# core