Console client in C#