changed list to c# examples