how i can write result - C#