static void Main(string[] args) { var client = new HobbyContractClient(); Console.WriteLine("**My hobby is ocnverting lower case sentences to upper case**"); Console.WriteLine("Please enter a sentence I can convert to uppercase!"); var lowCaseString = Console.ReadLine(); var result = client.CapitalizeLetters(lowCaseString); Console.WriteLine("Aaaa good, good, the result is the following.."); Console.WriteLine($" -> {result}"); Console.ReadLine(); }
static void Main(string[] args) { var client = new HobbyContractClient(); Console.WriteLine("**My hobby is ocnverting lower case sentences to upper case**"); Console.WriteLine("Please enter a sentence I can convert to uppercase!"); var lowCaseString = Console.ReadLine(); var result = client.CapitalizeLetters(lowCaseString); Console.WriteLine("Aaaa good, good, the result is the following.."); Console.WriteLine($" -> {result}"); Console.ReadLine(); }
private void button1_Click(object sender, EventArgs e) { var client = new HobbyContractClient(); lblResult.Text = client.CapitalizeLetters(txtInput.Text); }
private void button1_Click(object sender, EventArgs e) { var client = new HobbyContractClient(); lblResult.Text = client.CapitalizeLetters(txtInput.Text); }