some programmings with C#