✨ 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
    • Object-Oriented Programming
    • Object Initialization
    • Close
  • 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 on Oct 6, 2021 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 on Apr 12, 2020 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 on Feb 6, 2020 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 on Jun 12, 2019 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 on Dec 2, 2018 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 on Jul 15, 2018 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 on Jun 27, 2018 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 on Jun 17, 2018 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 on Mar 14, 2018 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 on Jan 11, 2018 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 on Nov 30, 2017 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 on Nov 27, 2017 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 on Nov 19, 2017 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 on Sep 3, 2017 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 on Aug 10, 2017 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 on Mar 20, 2017 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 on Mar 13, 2017 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 on Sep 23, 2016 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.