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 trialPeter Furler
31,647 PointsUnicodeEncoding.Unicode.GetString()
What have I done wrong?
byte[] mysteryMessage = {89, 0, 97, 0};
string messageContents = UnicodeEncoding.Unicode.GetString(mysteryMessage);
1 Answer
Steven Parker
231,269 PointsYou initialized your message with "89, 0, 97, 0", but the instructions said to "initialize it with the following values: 89, 0, 97, 0, 121, 0, 33, 0".
Peter Furler
31,647 PointsPeter Furler
31,647 PointsWell that's embarrassing, a simple reading comprehension error. I wonder why this was not picked up as an error in the first task of the challenge?
Steven Parker
231,269 PointsSteven Parker
231,269 PointsThat is curious. Perhaps you'd want to submit a bug report to Support.