Contenido del Curso
C# Beyond Basics
C# Beyond Basics
Practicing Methods
The code contains a struct called Cypher
which basically represents a kind of Caesar cipher.
Read the code and fill in the blanks to make sure it works properly. The following is how the final program is supposed to be:
setText
method converts the passed text into encoded text and stores it into the fieldtext. This method takes one
stringargument called
text`, and the method does not return any value;rawText
returns thetext
field content. This method takes no arguments;decodedText
decodes thetext
field content and returns the result. This method also doesn't take any arguments.
index
¿Todo estuvo claro?