1.5: String Challenges
Last updated
Last updated
In this module we'll give some challenges/exercises with the intention of deepening your understanding of strings.
Right click on the solution you made in the first module, go to Add > New Project
Select Console App (.NET Framework)
Name it 0.04_String_Challenges
Write your code for this module within Program.cs
of that project
Practice joining strings together using concatenation, composite formatting, and interpolation
Create a note to a potential employer that states your goals as a developer
Include a string for today's date usingToShortDateString()
- use the docs for
Here's an example:
"Dear Mr. Jones, Today is 3/11/2016. I'm enjoying class, and I think I like C# the best. I'd like to get a job as a developer after I finish this course."
Create 2 strings: Your username in lowercase and your username in uppercase.
Write code that compares the two strings and prints whether or not they are equal.
Print one sentence that says they are equal. Print another that says they are not equal.
Answers
Integers