900 XP

Perform basic string formatting in C#

Beginner
Developer
Higher Education Educator
K-12 Educator
Student
.NET

Combine literal and variable text data that contain special characters, formatting, and Unicode into meaningful messages for the end user.

Learning objectives

After you complete this module, you'll be able to:

  • Create string data containing tabs, new lines, and other special characters

  • Create string data containing Unicode characters

  • Combine string data into a new string value via concatenation

  • Combine string data into a new string value via interpolation

Start

Prerequisites

  • Beginner level experience with displaying a message to a console using the Console.WriteLine() and Console.Write() methods.

  • Beginner level experience with data types, declaring, initializing, setting, and retrieving values from variables.

This module is part of these learning paths

Module assessment

Assess your understanding of this module. Sign in and answer all questions correctly to earn a pass designation on your profile.

Take the module assessment