Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C# C# Basics (Retired) Perform Integers

Ali Idris
Ali Idris
1,056 Points

"6"= 5 =

i did what jeremy siad to do but i still got it wrong

Steven Parker
Steven Parker
216,768 Points

What answer did you give? And the question has a plus sign :point_right: "6" + 5 =

2 Answers

Simon McGuirk
Simon McGuirk
2,673 Points

As Steven has pointed out, you have a typo in your question.

Having checked the quiz, you're being asked to evaluate the result of adding the string value "6" to the integer value 5. This is not the same as 6 + 5.

Hope that helps

It's going to be 65. Because when you add string "6" to integer 5, it's just going to append the integer to the end of the string. So instead of 11, you'll get 65.