Working with Text
Introduction to Working with Text

Working with text is a fundamental part of writing programs. Whether it’s to provide instructions to a user, gathering data like a name or address, or writing a new form of poetry, text enables us to bring human language into computational form.

In this lesson, we’ll look at the two commonly used text data types in C#: char and string. By the end of this lesson, you will be able to manipulate textual data and write programs that take in user inputs and output customizable messages using variables, operators, and built-in methods.


Take a look at the program on the right. What do you think the outcome will be? This program uses many of the techniques that you’ll learn in this lesson!

Folder Icon

Take this course for free

Already have an account?