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.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

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

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