some code about c#