Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Streams and Data Processing Reading Data Working with Files

Lone Nielsen
Lone Nielsen
13,764 Points

Can find the right answer Can anyone help?

"C:\Users\Admin\Documents"

The highlighted portion of the string is called an sequence.

1 Answer

Hi! It's an escape sequence.

This is the Wikipedia definition:
An escape sequence is a sequence of characters that does not represent itself when used inside a character or string literal, but is translated into another character or a sequence of characters that may be difficult or impossible to represent directly.

I think the confusing part of this question was "highlighted portion" There was nothing highlighted.

James Churchill
James Churchill
Treehouse Teacher

Sorry for the confusion with this question. I've updated the question to read:

The "\\" portion of the above string is called an ____ sequence.