---
id: 647e23248acb466c97ccbefb
title: Convert Data Types Using Casting and Conversion Techniques in C#
challengeType: 19
dashedName: convert-data-types-using-casting-and-conversion-techniques-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-convert-cast/" target="_blank">https://learn.microsoft.com/en-us/training/modules/csharp-convert-cast/</a> and complete all the tasks for the "Convert Data Types Using Casting and Conversion Techniques in C#" module. This is required to earn the "Work with Variable Data in C# Console Applications" trophy.
1. When you are finished, come back and correctly answer the question below.

# --question--

## --text--

What type of action is being performed when changing a `float` into an `int`?

## --answers--

A narrowing conversion.

---

A widening conversion.

---

An illegal conversion.

## --video-solution--

1
