Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Robert Stewart
    Robert Stewart
    4,771 Points

    WTF

    Posted February 7, 2022 5:03pm by Robert Stewart
    Robert Stewart
    4,771 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    4 Answers

  • Robert Stewart
    Robert Stewart
    4,771 Points

    Tutorial is not excepting an correct answer. Major problem here.

    Posted February 7, 2022 4:41pm by Robert Stewart
    Robert Stewart
    4,771 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Ben Maclean
    Ben Maclean
    3,678 Points

    why doesnt this work

    Posted June 7, 2020 11:13am by Ben Maclean
    Ben Maclean
    3,678 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Kiem Ruach
    Kiem Ruach
    2,267 Points

    C# challenge

    Posted April 28, 2020 5:05pm by Kiem Ruach
    Kiem Ruach
    2,267 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Kiem Ruach
    Kiem Ruach
    2,267 Points

    C# challenge

    Posted April 28, 2020 2:02am by Kiem Ruach
    Kiem Ruach
    2,267 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Jericoe States
    Jericoe States
    3,262 Points

    Syntactic sugar

    Posted April 1, 2020 6:22pm by Jericoe States
    Jericoe States
    3,262 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Jorleni Maldonado
    Jorleni Maldonado
    14,398 Points

    Hello, I am stuck on this one...

    Posted January 22, 2019 3:11am by Jorleni Maldonado
    Jorleni Maldonado
    14,398 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Tyler Hodges
    Tyler Hodges
    1,167 Points

    Syntactic Sugar challenge

    Posted January 12, 2019 1:14am by Tyler Hodges
    Tyler Hodges
    1,167 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    0 Answers

  • michael Durkopp
    michael Durkopp
    1,228 Points

    No matter what I do, I keep getting Did you convert the property to a single-lined, expression bodied property? error

    Posted November 19, 2018 6:23am by michael Durkopp
    michael Durkopp
    1,228 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

  • Chris Gauthier
    PLUS
    Chris Gauthier
    Courses Plus Student 6,434 Points

    Using Expression Bodied Method's in C# Objects

    Posted November 12, 2018 6:16pm by Chris Gauthier
    Chris Gauthier
    Courses Plus Student 6,434 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

  • Tatenda Matambo
    Tatenda Matambo
    1,359 Points

    Inheritance Expression Bodied Members

    Posted September 19, 2018 7:32pm by Tatenda Matambo
    Tatenda Matambo
    1,359 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    0 Answers

  • Tojo Alex
    PLUS
    Tojo Alex
    Courses Plus Student 13,331 Points

    I have an error though I don't understand what it is

    Posted May 27, 2018 4:01pm by Tojo Alex
    Tojo Alex
    Courses Plus Student 13,331 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

  • odalis garcia
    odalis garcia
    21,311 Points

    Can't get passed this. Don't understand what I am doing wrong.

    Posted May 25, 2018 11:14am by odalis garcia
    odalis garcia
    21,311 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Aarica Hammond
    Aarica Hammond
    5,115 Points

    Can't pass 2 of 2

    Posted May 1, 2018 2:05pm by Aarica Hammond
    Aarica Hammond
    5,115 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Mark Schuit
    Mark Schuit
    2,921 Points

    I think this code is not working correctly. I'm pretty sure my code is correct, but it doesn't compile.

    Posted October 20, 2017 4:36am by Mark Schuit
    Mark Schuit
    2,921 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

  • Alan Smail
    Alan Smail
    3,317 Points

    i am stuck at step 2

    Posted September 21, 2017 7:20am by Alan Smail
    Alan Smail
    3,317 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Abdi Biru
    Abdi Biru
    927 Points

    Converting to a single line function

    Posted September 21, 2017 2:28am by Abdi Biru
    Abdi Biru
    927 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Larry Singleton
    Larry Singleton
    18,947 Points

    I've passed this section, it wont accept answer and wont continue

    Posted June 5, 2017 8:48pm by Larry Singleton
    Larry Singleton
    18,947 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • Larry Singleton
    Larry Singleton
    18,947 Points

    Syntactic Sugar

    Posted June 4, 2017 6:54pm by Larry Singleton
    Larry Singleton
    18,947 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Devante Phetdara
    Devante Phetdara
    5,567 Points

    Am I doing this right?

    Posted May 19, 2017 3:11pm by Devante Phetdara
    Devante Phetdara
    5,567 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • M. Brown
    M. Brown
    29,923 Points

    Still stuck on this

    Posted March 31, 2017 4:33pm by M. Brown
    M. Brown
    29,923 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • M. Brown
    M. Brown
    29,923 Points

    Step 2 help

    Posted March 29, 2017 1:13pm by M. Brown
    M. Brown
    29,923 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Use the syntactic sugar just learned about to convert the Area property to a single line property.

    Posted March 9, 2017 8:25pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Use the syntactic sugar just learned about to convert the Scale method to a single line method.

    Posted February 17, 2017 7:57pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Use the syntactic sugar just learned about to convert the Area property to a single line property.

    Posted February 3, 2017 8:22pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Use the syntactic sugar just learned about to convert the Area property to a single line property.

    Posted January 31, 2017 8:54pm by Alexisca hall
    Alexisca hall
    23,683 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

  • Valentina Peric
    Valentina Peric
    10,651 Points

    syntactic sugar help

    Posted December 29, 2016 3:15pm by Valentina Peric
    Valentina Peric
    10,651 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • aleksander dahle
    aleksander dahle
    1,332 Points

    i dont get this

    Posted September 24, 2016 7:07pm by aleksander dahle
    aleksander dahle
    1,332 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    1 Answer

  • shawn khah
    shawn khah
    15,082 Points

    can't solve challenge 2 of 2

    Posted September 20, 2016 9:56pm by shawn khah
    shawn khah
    15,082 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    3 Answers

  • shawn khah
    shawn khah
    15,082 Points

    can't solve challenge 1 of 2

    Posted September 20, 2016 4:49pm by shawn khah
    shawn khah
    15,082 Points
    • C#
    • C# Objects
    • Encapsulation with Properties
    • Expression Bodied Members

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord