# 1.5: String Challenges

In this module we'll give some challenges/exercises with the intention of deepening your understanding of strings.

## File Location

1. Right click on the solution you made in the first module, go to **Add > New Project**
2. Select **Console App (.NET Framework)**
3. Name it `0.04_String_Challenges`
4. Write your code for this module within `Program.cs` of that project

## Bronze Challenge:

* Practice joining strings together using concatenation, composite formatting, and interpolation
* [Composite reference](https://msdn.microsoft.com/en-us/library/txafckwd.aspx)   &#x20;
* <https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated>

## Silver Challenge:

* Create a note to a potential employer that states your goals as a developer
* Include a string for today's date using`ToShortDateString()`- use the docs for [reference](https://msdn.microsoft.com/en-us/library/ms228504.aspx)
* 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."

## Gold Challenge:

* 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.&#x20;
* [Reference](https://msdn.microsoft.com/en-us/library/cc165449.aspx)

[Answers](broken://pages/-LAUcFWfpx5SZtI27bwl)

[Next:](/dotnet-101-csharpfundamentals/part-1-data-types/1.7-integers.md) Integers


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eleven-fifty-academy.gitbook.io/dotnet-101-csharpfundamentals/part-1-data-types/1.5-string-challenges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
