GetStringInputValue, c# method