🤑 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
  • Rodrigo Muñoz
    PLUS
    Rodrigo Muñoz
    Courses Plus Student 20,171 Points

    How can I run the .exe file compiled from C# on a macbook?

    Posted October 6, 2021 7:00pm by Rodrigo Muñoz
    Rodrigo Muñoz
    Courses Plus Student 20,171 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Curtis Alcorn
    Curtis Alcorn
    10,389 Points

    If we set the class variables as readonly, how come we are allowed to send arguments to it?

    Posted April 12, 2020 4:24pm by Curtis Alcorn
    Curtis Alcorn
    10,389 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Chance Crawford
    Chance Crawford
    4,824 Points

    Constructor method clarification

    Posted February 6, 2020 9:03pm by Chance Crawford
    Chance Crawford
    4,824 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    2 Answers

  • Lucas Dickey
    Lucas Dickey
    190 Points

    I am getting error CS0103 Map.cs (10,21) Map.cs (11,22)

    Posted June 12, 2019 5:03pm by Lucas Dickey
    Lucas Dickey
    190 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    2 Answers

  • Graham Atlee
    Graham Atlee
    3,907 Points

    Why use a constructor?

    Posted December 2, 2018 12:54am by Graham Atlee
    Graham Atlee
    3,907 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Mohammed Almahruqi
    Mohammed Almahruqi
    751 Points

    what is the different between instences and object? I mean in English Language and Programming language.

    Posted July 15, 2018 8:16am by Mohammed Almahruqi
    Mohammed Almahruqi
    751 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Thomas Barkel
    PLUS
    Thomas Barkel
    Courses Plus Student 7,222 Points

    error CS1525: Unexpected symbol. Please help

    Posted June 27, 2018 2:16pm by Thomas Barkel
    Thomas Barkel
    Courses Plus Student 7,222 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Ruslan T
    Ruslan T
    1,706 Points

    Game.cs(9,21): error CS0122: `TreehouseDefence.Map.Map(int, int)' is inaccessible due to its protection level

    Posted June 17, 2018 12:05pm by Ruslan T
    Ruslan T
    1,706 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    2 Answers

  • Ahmed M
    Ahmed M
    4,008 Points

    this video is made for 30 year old people can you help me understand this video pls

    Posted March 14, 2018 10:40am by Ahmed M
    Ahmed M
    4,008 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    2 Answers

  • Abubakar Gataev
    Abubakar Gataev
    2,226 Points

    What is a constructor?

    Posted January 11, 2018 6:35pm by Abubakar Gataev
    Abubakar Gataev
    2,226 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Al Yuri Félix
    Al Yuri Félix
    3,718 Points

    static vs public void main()

    Posted November 30, 2017 2:57am by Al Yuri Félix
    Al Yuri Félix
    3,718 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Ahmad Al-arn'uti
    PLUS
    Ahmad Al-arn'uti
    Courses Plus Student 684 Points

    workspaces

    Posted November 27, 2017 10:06am by Ahmad Al-arn'uti
    Ahmad Al-arn'uti
    Courses Plus Student 684 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Jacob Clinton
    Jacob Clinton
    4,531 Points

    error CS1520: Class, struct, or interface method must have a return type?

    Posted November 19, 2017 12:21am by Jacob Clinton
    Jacob Clinton
    4,531 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Unsubscribed User
    Unsubscribed User
    2,446 Points

    Objects and Constructor clarification.

    Posted September 3, 2017 5:23pm by Unsubscribed User
    Unsubscribed User
    2,446 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Christopher Majors
    Christopher Majors
    3,677 Points

    Tower.cs(3,11): error CS0101: The namespace `TreehouseDefense' already contains a definition for `Game'

    Posted August 10, 2017 3:12pm by Christopher Majors
    Christopher Majors
    3,677 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    1 Answer

  • Khaleel Ahmed
    Khaleel Ahmed
    270 Points

    I'am getting an extra warning

    Posted March 20, 2017 7:22am by Khaleel Ahmed
    Khaleel Ahmed
    270 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    0 Answers

  • alexis potvin
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    alexis potvin
    Front End Web Development Techdegree Student 927 Points

    Bad Workspace

    Posted March 13, 2017 10:25pm by alexis potvin
    .a{fill-rule:evenodd;}techdegree
    alexis potvin
    Front End Web Development Techdegree Student 927 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

    2 Answers

  • Tomas Baca
    Tomas Baca
    3,578 Points

    Code challenge error

    Posted September 23, 2016 1:23pm by Tomas Baca
    Tomas Baca
    3,578 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Object Initialization

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