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
  • 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.

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