> For the complete documentation index, see [llms.txt](https://eleven-fifty-academy.gitbook.io/dotnet-100-prework-gitbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eleven-fifty-academy.gitbook.io/dotnet-100-prework-gitbook/part-3-c-fundamentals/3.0b-types-challenges-answers.md).

# 3.0b: Types Challenges Answers

In this module we'll provide the answers for the types challenges in the last module.

## What's the Best Type Answers:

* `char`
* `int`
* `decimal`
* `float`
* `int`
* `string`

## Bronze Challenge Answer *(Example)*

```csharp
namespace BasicTypesPractice
{
    class Program
    {
        static void Main(string[] args)
        {
            int lottoNumber;
            int yearGraduatedHighSchool = 1994;

            string fbPost;
            string reTweet = "Yes, I'll retweet that.";

            bool isMarried;
            bool isHappy = true;

            decimal studentLoanAmount;
            decimal bankAccount = 100.0M;

            float amountOfSnow;
            float temperature = 57.5f;

            double latitude;
            double oneThird = 3.33333333d;

            fbPost = "The Patriots are terrible!";

            Console.WriteLine(fbPost);
            Console.WriteLine(temperature);
            Console.WriteLine(oneThird);
        }
    }
}
```

## Silver Challenge Answer *(Example)*

```csharp
namespace BasicTypesPractice
{
    class Program
    {
        static void Main(string[] args)
        {

            string fbPost;
            string reTweet = "Yes, I'll retweet that.";
            fbPost = "The Patriots are terrible!";

            Console.WriteLine(fbPost + " " + reTweet);
        }
    }
}
```

## Gold Challenge Answer *(Example)*

```csharp
namespace BasicTypesPractice
{
    class Program
    {
        static void Main(string[] args)
        {     
            int bYear = Int32.Parse("1976");       
            Console.WriteLine("I was born in {0}.", bYear);
        }
    }
}
```
