---
id: 647e23188acb466c97ccbefa
title: Choose the Correct Data Type in Your C# Code
challengeType: 19
dashedName: choose-the-correct-data-type-in-your-c-sharp-code
---

# --description--

This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:

1. Go to <a href="https://learn.microsoft.com/training/modules/csharp-choose-data-type/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/csharp-choose-data-type/</a> and complete all the tasks for the "Choose the Correct Data Type in Your C# Code" module. This is **required** to earn the "Work with Variable Data in C# Console Applications" trophy on Microsoft Learn, and qualify for the certification exam.
1. When you are finished, come back and correctly answer the question below.

# --assignment--

Complete the <a href="https://learn.microsoft.com/training/modules/csharp-choose-data-type/" target="_blank" rel="noreferrer">Choose the Correct Data Type in Your C# Code</a> module on Microsoft Learn. Then, answer the question below.

# --questions--

## --text--

A piece of code must store whole numeric values between negative and positive `1,000,000`. Which data type should you choose?

## --answers--

float

---

double

---

int

## --video-solution--

3
