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

New No-Code Track! 🚀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
    • 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
  • 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
  • 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 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 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
    51,978 Points

    Add a static method named CalculateHypotenuse to the RightTriangle class

    Posted May 27, 2016 3:13am by Joshua C
    Joshua C
    51,978 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.

    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.