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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.