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# Objects Object-Oriented Programming Types and Objects

I understand that Bob is a string of characters but I do not understand to answer the question in the quiz.

For C# quiz

"Bob is an ______ of type string."

4 Answers

William, we usually say "Bob" is a string, but more precisely it is an object of type string.

Classes are templates from which objects are created. String is a class, "Bob" is an object created from that class.

Hope this helps, and I didn't mis-understand your question.

"Bob" is an object of type String ;).

Caspar Claessen
Caspar Claessen
9,060 Points

Isn't it also an instance of type string?

Luke Gibson
Luke Gibson
3,503 Points

this one fried my brain a little but I understand it thanks to the previous comments!