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 trialRanvir Sahota
9,844 PointsQuiz: What kind of member is Name?
Even though I got the answer right. I don't feel like I understand it. The answer being: "I don't know without looking at the class definition". But what does the class definition have to do with anything? Should it not say "declaration" instead of "class definition"? Am I being pedantic or have completely gone off track? Can someone help?
1 Answer
Jesse Schoonveld
2,943 PointsDeclarations in a C# program define the constituent elements of the program. All the question is asking is what kind of member Name is. Wich you don't know without looking inside the employee class to see how Name is defined there.
I think you're just really overthinking the question ;)
Ranvir Sahota
9,844 PointsRanvir Sahota
9,844 PointsYh your probably right