Chaning to c#