Skip to main content

🚀 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
  • Evan Welch
    Evan Welch
    1,815 Points

    Understanding the difference between static methods and instance methods in C#

    Posted October 6, 2020 3:58pm by Evan Welch
    Evan Welch
    1,815 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    4 Answers

  • Jericoe States
    Jericoe States
    3,262 Points

    Using the provided link I couldn't determine correct answer?

    Posted March 10, 2020 3:20pm by Jericoe States
    Jericoe States
    3,262 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    3 Answers

  • Charlie Harcourt
    Charlie Harcourt
    8,046 Points

    Difference between an instance method and a static method

    Posted July 17, 2018 11:27am by Charlie Harcourt
    Charlie Harcourt
    8,046 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • drstrangequark
    drstrangequark
    8,273 Points

    Why is AddDays() an instance method? It appears to be called from the DateTime class, so shouldn't that mean its static?

    Posted August 31, 2017 7:14pm by drstrangequark
    drstrangequark
    8,273 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Nicholas Wallen
    Nicholas Wallen
    12,278 Points

    Explain Like I Am Five: Why is AddDays() an instance method but DateTime() is static?

    Posted June 1, 2017 11:17pm by Nicholas Wallen
    Nicholas Wallen
    12,278 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Michael North
    Michael North
    2,561 Points

    System.Math._________

    Posted April 6, 2017 10:14pm by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Michael North
    Michael North
    2,561 Points

    I don't understand the difference between static and instance

    Posted April 6, 2017 1:03am by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    2 Answers

  • Jorge Kalil
    Jorge Kalil
    1,832 Points

    why is System.DateTime.DaysInMonth() a static method and System.DateTime.AddDays() an instance method?

    Posted December 4, 2016 2:24pm by Jorge Kalil
    Jorge Kalil
    1,832 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    2 Answers

  • Nicolas Bastos
    Nicolas Bastos
    4,209 Points

    Just by looking at System.DateTime.AddDays() how would I know if it is an instance method or a static method?

    Posted December 1, 2016 2:36am by Nicolas Bastos
    Nicolas Bastos
    4,209 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Friso Mosselmans
    Friso Mosselmans
    2,105 Points

    How can I see what type of method "System.DateTime.DaysInMonth()" is? static or instance?

    Posted November 28, 2016 2:11pm by Friso Mosselmans
    Friso Mosselmans
    2,105 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    3 Answers

  • Jack Wang
    Jack Wang
    702 Points

    Why is "System.DateTime.AddDays()" not a static method?

    Posted September 26, 2016 2:23am by Jack Wang
    Jack Wang
    702 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Nathan Reinauer
    Nathan Reinauer
    2,097 Points

    What object is being created in System.DateTime.AddDays() ? It looks like it's calling directly on class DateTime

    Posted September 15, 2016 5:45am by Nathan Reinauer
    Nathan Reinauer
    2,097 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    1 Answer

  • Daniel W
    Daniel W
    1,341 Points

    Is there any way to determine that System.DateTime.AddDays() is static or not without looking it up online?

    Posted July 17, 2016 6:58pm by Daniel W
    Daniel W
    1,341 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    2 Answers

  • jimmywidlund
    jimmywidlund
    1,701 Points

    Why is System.DateTime.DaysInMonth() static and System.DateTime.AddDays() instance? Same same to me.

    Posted July 12, 2016 10:06am by jimmywidlund
    jimmywidlund
    1,701 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    2 Answers

  • Iagor Moraes
    Iagor Moraes
    18,678 Points

    System.Math. question that return largers of two numbers, which is the method i need to use?

    Posted May 17, 2016 12:42am by Iagor Moraes
    Iagor Moraes
    18,678 Points
    • C#
    • C# Objects
    • Methods
    • Documentation

    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