Question: Complete in C# Visual Studio Create a desktop application in Visual Stuff with a textbox and a button and the labels needed to perform this
Complete in C# Visual Studio Create a desktop application in Visual Stuff with a textbox and a button and the labels
needed to perform this exercise. Your GUI should be similar to this.
String Stuff
Enter a word:
Switch Case
Reverse
Pig Latin
Create a click event handler for the Transform button that calls the required methods.
Create these methods:
A method that receives the word entered as an argument and returns a string that is the
same word but with the case of each character switched. For example, if the word
entered is ProGRamming, the string returned would be pROgrAMMING.
A method that receives the word entered as an argument and returns a string where the
characters are in the reverse order. For example, if the word entered is ProGRamming,
the string returned would be gnimmaRGorP.
A method that receives the word entered as an argument and returns a string that is the
Pig Latin of the original word. You can keep your Pig Latin translation simple by moving
the first character to the end of the word and appending ay For example, if the word
entered is Hello, the string returned in elloHay. If the word is desk, the string returned is
eskday.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
