🤑 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
  • Erik Hainer
    Erik Hainer
    3,049 Points

    Console.WriteLine not printing to console

    Posted April 13, 2022 6:13pm by Erik Hainer
    Erik Hainer
    3,049 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

  • Amy Tomey
    Amy Tomey
    12,847 Points

    point.cs(5,16): error CS1644:

    Posted March 8, 2022 12:14am by Amy Tomey
    Amy Tomey
    12,847 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

  • Richard Oden
    Richard Oden
    15,350 Points

    Is using static System.Math good practice? Why does it require static?

    Posted August 27, 2020 12:28pm by Richard Oden
    Richard Oden
    15,350 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

  • Luis Marsano
    Luis Marsano
    21,425 Points

    Unsound mathematics could result in bugs

    Posted January 12, 2019 1:58am by Luis Marsano
    Luis Marsano
    21,425 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

  • Liam Andersson
    Liam Andersson
    1,396 Points

    The coding regarding the distance formula

    Posted November 10, 2017 9:39pm by Liam Andersson
    Liam Andersson
    1,396 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    5 Answers

  • Isaac Warbrick
    Isaac Warbrick
    1,109 Points

    Should have asked this earlier but why do we have to write "mcs -out:TreehouseDefense.exe..." into the console?

    Posted July 20, 2017 5:05am by Isaac Warbrick
    Isaac Warbrick
    1,109 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    2 Answers

  • wgrywgrywgryg
    wgrywgrywgryg
    854 Points

    null

    Posted May 7, 2017 11:13pm by wgrywgrywgryg
    wgrywgrywgryg
    854 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    19 Answers

  • Amber Capell
    Amber Capell
    881 Points

    Not returning a value for the distanceto method. keeps returning true and false upon compiling.

    Posted May 3, 2017 12:50pm by Amber Capell
    Amber Capell
    881 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

  • Viktor Zhyvotun
    Viktor Zhyvotun
    2,153 Points

    Compiles, but does not print anything

    Posted March 23, 2017 1:47pm by Viktor Zhyvotun
    Viktor Zhyvotun
    2,153 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    4 Answers

  • Tomasz Necek
    PLUS
    Tomasz Necek
    Courses Plus Student 7,028 Points

    Why it's "double" sqrt ?

    Posted February 20, 2017 11:56am by Tomasz Necek
    Tomasz Necek
    Courses Plus Student 7,028 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    2 Answers

  • Javier Gandia
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Javier Gandia
    Full Stack JavaScript Techdegree Student 9,153 Points

    https://teamtreehouse.com/library/c-objects/methods/using-static-methods

    Posted February 13, 2017 9:53pm by Javier Gandia
    .a{fill-rule:evenodd;}techdegree
    Javier Gandia
    Full Stack JavaScript Techdegree Student 9,153 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    4 Answers

  • Charles Szvetecz
    Charles Szvetecz
    1,278 Points

    How to fix compilation errors Static Methods Section of Object within C# Basic

    Posted September 19, 2016 6:42pm by Charles Szvetecz
    Charles Szvetecz
    1,278 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    0 Answers

  • Daniel Hildreth
    Daniel Hildreth
    16,170 Points

    Using Static Methods C# Objects

    Posted September 6, 2016 6:11am by Daniel Hildreth
    Daniel Hildreth
    16,170 Points
    • C#
    • C# Objects
    • Methods
    • Using Static Methods

    1 Answer

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.