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

🤑 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

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

  • 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
    • Showing results for:
    • C#
    • C# Objects
    • Loops and Final Touches
    • Static Members
    • Close
  • 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 on Dec 10, 2020 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 on Dec 8, 2020 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 on Jan 22, 2019 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 on Jan 7, 2019 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 on Dec 11, 2018 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 on Nov 11, 2018 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 on Jun 1, 2018 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 on Dec 4, 2017 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 on Aug 7, 2017 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 on Aug 7, 2017 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 on May 14, 2017 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 on May 14, 2017 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 on Apr 9, 2017 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 on Jan 16, 2017 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 on Dec 16, 2016 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 on Dec 10, 2016 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 on Nov 16, 2016 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 on Sep 26, 2016 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 on Sep 25, 2016 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 on Sep 20, 2016 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 on Sep 10, 2016 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 on Sep 3, 2016 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 on Jun 30, 2016 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 on Jun 23, 2016 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 on May 27, 2016 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.

    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.