method input c#