✨ 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
    • Methods
    • Documentation
    • Close
  • Evan Welch
    Evan Welch
    1,815 Points

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

    Posted on Oct 6, 2020 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 on Mar 10, 2020 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 on Jul 17, 2018 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 on Aug 31, 2017 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 on Jun 1, 2017 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 on Apr 6, 2017 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 on Apr 6, 2017 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 on Dec 4, 2016 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 on Dec 1, 2016 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 on Nov 28, 2016 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 on Sep 26, 2016 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 on Sep 15, 2016 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 on Jul 17, 2016 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 on Jul 12, 2016 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 on May 17, 2016 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.

    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.