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# 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
229,005 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.