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
  • Ra Bha
    Ra Bha
    2,201 Points

    Getting single error on compile which I can't figure out how to fix: static members challenge problem

    Posted December 10, 2020 5:20pm by Ra Bha
    Ra Bha
    2,201 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    0 Answers

  • Ra Bha
    Ra Bha
    2,201 Points

    Code is not compiling..what am I missing here?

    Posted December 8, 2020 8:44pm by Ra Bha
    Ra Bha
    2,201 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Larry Davis
    Larry Davis
    6,007 Points

    Why can't Math.Pow() or Math.Sqrt be used here? I can compile this using LinqPad.

    Posted January 22, 2019 6:32pm by Larry Davis
    Larry Davis
    6,007 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Nik Pappaconstantine
    Nik Pappaconstantine
    3,814 Points

    CalculateHypotenuse - Wrong Math Error

    Posted January 7, 2019 11:38am by Nik Pappaconstantine
    Nik Pappaconstantine
    3,814 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • elomaur
    elomaur
    5,276 Points

    Calculating Hypotenuse

    Posted December 11, 2018 3:46am by elomaur
    elomaur
    5,276 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Benson Gathee
    PLUS
    Benson Gathee
    Courses Plus Student 1,280 Points

    What might be wrong with my code? Why doesn't Math.Sqrt work?

    Posted November 11, 2018 9:14am by Benson Gathee
    Benson Gathee
    Courses Plus Student 1,280 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    2 Answers

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

    I don't understand the last code challenge

    Posted June 1, 2018 1:56pm by Tojo Alex
    Tojo Alex
    Courses Plus Student 13,331 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    4 Answers

  • Sean Cansdale
    Sean Cansdale
    3,075 Points

    I'm check this over a few times and I'm unable to see the problem with my solution?

    Posted December 4, 2017 9:35am by Sean Cansdale
    Sean Cansdale
    3,075 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Barry Ort
    Barry Ort
    12,373 Points

    where did I go wrong?

    Posted August 7, 2017 12:44am by Barry Ort
    Barry Ort
    12,373 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Barry Ort
    Barry Ort
    12,373 Points

    Where am I going wrong?

    Posted August 7, 2017 12:28am by Barry Ort
    Barry Ort
    12,373 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Michael North
    Michael North
    2,561 Points

    I can't understand why not working

    Posted May 14, 2017 8:08pm by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    3 Answers

  • Michael North
    Michael North
    2,561 Points

    Im stuck

    Posted May 14, 2017 6:40pm by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    2 Answers

  • Travis John Villanueva
    Travis John Villanueva
    5,052 Points

    Can you hint where is my error? The editor says i need to have a return type

    Posted April 9, 2017 2:37am by Travis John Villanueva
    Travis John Villanueva
    5,052 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    3 Answers

  • Stepas Loiba
    Stepas Loiba
    11,180 Points

    Need help with is your math correct in challenge.

    Posted January 16, 2017 12:49pm by Stepas Loiba
    Stepas Loiba
    11,180 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    2 Answers

  • Amit Ghosh
    Amit Ghosh
    9,314 Points

    Is there anything wrong with my code

    Posted December 16, 2016 1:54am by Amit Ghosh
    Amit Ghosh
    9,314 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Jannung Kusdiantoro
    Jannung Kusdiantoro
    6,743 Points

    missing something?

    Posted December 10, 2016 5:00am by Jannung Kusdiantoro
    Jannung Kusdiantoro
    6,743 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    3 Answers

  • Mohammed Abdalla
    Mohammed Abdalla
    7,448 Points

    hypotenuse

    Posted November 16, 2016 1:26am by Mohammed Abdalla
    Mohammed Abdalla
    7,448 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    2 Answers

  • Babatunde Obidare
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Babatunde Obidare
    Full Stack JavaScript v1 Techdegree Student 4,925 Points

    Why is it saying "Is your math correct?"

    Posted September 26, 2016 5:54pm by Babatunde Obidare
    .a{fill-rule:evenodd;}techdegree
    Babatunde Obidare
    Full Stack JavaScript v1 Techdegree Student 4,925 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    4 Answers

  • shawn khah
    shawn khah
    15,082 Points

    help plz

    Posted September 25, 2016 8:45pm by shawn khah
    shawn khah
    15,082 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    3 Answers

  • Brad Price
    Brad Price
    18,570 Points

    can someone get me started on this? I am completely lost

    Posted September 20, 2016 10:43pm by Brad Price
    Brad Price
    18,570 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Izzatilla Karimov
    Izzatilla Karimov
    9,284 Points

    Add a static method named CalculateHypotenuse to the RightTriangle class that returns the length of long side of a right

    Posted September 10, 2016 4:55am by Izzatilla Karimov
    Izzatilla Karimov
    9,284 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Ulysses Hall
    Ulysses Hall
    1,469 Points

    Why error no "Math"

    Posted September 3, 2016 2:17am by Ulysses Hall
    Ulysses Hall
    1,469 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Luis Santos
    Luis Santos
    3,566 Points

    I am stumped, I really don't know where to even begin with this.

    Posted June 30, 2016 12:47am by Luis Santos
    Luis Santos
    3,566 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Andrew Winkler
    Andrew Winkler
    37,739 Points

    So I don't get why this is not working... It's a static method for the Pythagorean theorem.

    Posted June 23, 2016 1:27am by Andrew Winkler
    Andrew Winkler
    37,739 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    1 Answer

  • Joshua C
    Joshua C
    52,087 Points

    Add a static method named CalculateHypotenuse to the RightTriangle class

    Posted May 27, 2016 3:13am by Joshua C
    Joshua C
    52,087 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members

    4 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