---
id: 647e238f8acb466c97ccbf04
title: 'Store and Retrieve Data Using Literal and Variable Values in C#'
challengeType: 19
dashedName: store-and-retrieve-data-using-literal-and-variable-values-in-c-sharp
---

# --description--

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

1. Go to <a href="https://learn.microsoft.com/en-us/training/modules/csharp-literals-variables/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-literals-variables/</a> and complete all the tasks for the "Store and Retrieve Data Using Literal and Variable Values in C#" module. This is required to earn the "Write Your First Code Using C#" trophy.
1. When you are finished, come back and correctly answer the question below.

# --question--

## --text--

Which of the following lines of code creates a variable correctly?

## --answers--

`int x = 12.3m;`

---

`decimal x = 12.3m;`

---

`bool x = 'False';`

## --video-solution--

2
