🤑 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

  • 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
  • Joe Whitehead
    Joe Whitehead
    2,179 Points

    Variable naming conventions

    Posted July 12, 2023 6:19pm by Joe Whitehead
    Joe Whitehead
    2,179 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Alejandro ponce
    Alejandro ponce
    709 Points

    Error CS 10017

    Posted March 3, 2021 10:44pm by Alejandro ponce
    Alejandro ponce
    709 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Pavel Senk
    Pavel Senk
    2,717 Points

    Compile files in command line

    Posted September 22, 2020 1:56pm by Pavel Senk
    Pavel Senk
    2,717 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • David Munoz
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    David Munoz
    Front End Web Development Techdegree Student 1,922 Points

    Why do we say map Map = new map? I couldn't find the part where this was introduced.

    Posted August 24, 2019 10:12pm by David Munoz
    .a{fill-rule:evenodd;}techdegree
    David Munoz
    Front End Web Development Techdegree Student 1,922 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Ilya Sikharulidze
    PLUS
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points

    Renaming program in visual studio 2019

    Posted June 30, 2019 6:01pm by Ilya Sikharulidze
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    0 Answers

  • Delaine Teddy R Ndau
    Delaine Teddy R Ndau
    3,437 Points

    c# objects

    Posted August 25, 2018 7:56pm by Delaine Teddy R Ndau
    Delaine Teddy R Ndau
    3,437 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • jamesroyle
    jamesroyle
    2,621 Points

    Why do we type "Map map = new Map();"

    Posted July 16, 2018 7:53pm by jamesroyle
    jamesroyle
    2,621 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    2 Answers

  • James Lawson
    James Lawson
    971 Points

    Compiler error CS0246

    Posted July 3, 2018 7:27pm by James Lawson
    James Lawson
    971 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Ruslan T
    Ruslan T
    1,706 Points

    tower, map is assigned but it's value is never used

    Posted June 16, 2018 8:03am by Ruslan T
    Ruslan T
    1,706 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    2 Answers

  • Alexis Ruiz
    Alexis Ruiz
    9,237 Points

    The type or namespace name `Tower' could not be found. Are you missing `TreeHouseDefense' using directive?

    Posted May 29, 2018 11:10pm by Alexis Ruiz
    Alexis Ruiz
    9,237 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Levente Bito
    Levente Bito
    4,679 Points

    In workspace I can't use special characters that would be essential for C#. Like &, *.

    Posted May 21, 2018 9:38am by Levente Bito
    Levente Bito
    4,679 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Louis Nathan
    Louis Nathan
    2,598 Points

    Error CS1644: Feature 'primary constructor' cannot be used because it is not part of the C# 6.0 language specification

    Posted April 8, 2018 3:29pm by Louis Nathan
    Louis Nathan
    2,598 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Rasmus Hall
    Rasmus Hall
    1,260 Points

    CS1525 wtf

    Posted February 18, 2018 10:29am by Rasmus Hall
    Rasmus Hall
    1,260 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Heath Port
    Heath Port
    2,571 Points

    Compiler Error cs0246

    Posted November 23, 2017 10:08pm by Heath Port
    Heath Port
    2,571 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    2 Answers

  • Jack Stone
    Jack Stone
    9,838 Points

    c# objects fields: CS0246 CS0841

    Posted July 4, 2017 6:18am by Jack Stone
    Jack Stone
    9,838 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Igor Latychev
    PLUS
    Igor Latychev
    Courses Plus Student 7,310 Points

    C# - TreehouseDefense Game

    Posted June 21, 2017 2:24am by Igor Latychev
    Igor Latychev
    Courses Plus Student 7,310 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Andrada Terenche
    Andrada Terenche
    1,103 Points

    mcs -out:TreehouseDefense.exe *.cs

    Posted May 22, 2017 4:53pm by Andrada Terenche
    Andrada Terenche
    1,103 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Rian zRain
    PLUS
    Rian zRain
    Courses Plus Student 581 Points

    Change application name in Visual Studio 2017

    Posted April 23, 2017 5:09am by Rian zRain
    Rian zRain
    Courses Plus Student 581 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Kenneth Hansen
    Kenneth Hansen
    2,577 Points

    Compiller error??

    Posted March 13, 2017 8:25pm by Kenneth Hansen
    Kenneth Hansen
    2,577 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    2 Answers

  • Ryan McMaster
    Ryan McMaster
    3,842 Points

    Compiler errors, but not the ones in the video

    Posted March 2, 2017 7:24pm by Ryan McMaster
    Ryan McMaster
    3,842 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    3 Answers

  • Tristan Kasinger
    Tristan Kasinger
    919 Points

    Unexpected Symbol

    Posted February 9, 2017 10:42pm by Tristan Kasinger
    Tristan Kasinger
    919 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Glenn Dietz
    Glenn Dietz
    613 Points

    Suggest: attribute - field discussion

    Posted October 5, 2016 3:48pm by Glenn Dietz
    Glenn Dietz
    613 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Björn Norén
    Björn Norén
    9,569 Points

    Problem with Visual Studio!

    Posted September 14, 2016 10:51am by Björn Norén
    Björn Norén
    9,569 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Sandy Jones
    Sandy Jones
    7,854 Points

    I received an error when I tried to fix the compile errors: errorCS2005:Missing file specification for '/out' option

    Posted August 19, 2016 9:48pm by Sandy Jones
    Sandy Jones
    7,854 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Benneth Paredis
    Benneth Paredis
    4,597 Points

    How do i do this in visual studio ?

    Posted June 17, 2016 11:23am by Benneth Paredis
    Benneth Paredis
    4,597 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Benneth Paredis
    Benneth Paredis
    4,597 Points

    Im working on this project in visual studio and i need help :/

    Posted June 17, 2016 10:59am by Benneth Paredis
    Benneth Paredis
    4,597 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Pratham Patel
    Pratham Patel
    4,976 Points

    I keep getting a namespace error and anthor error saying a local variable map cannot be used before it is declared

    Posted June 14, 2016 1:03am by Pratham Patel
    Pratham Patel
    4,976 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    3 Answers

  • Mark Wilkowske
    PLUS
    Mark Wilkowske
    Courses Plus Student 18,131 Points

    Namespace error - can't find it

    Posted June 13, 2016 9:14pm by Mark Wilkowske
    Mark Wilkowske
    Courses Plus Student 18,131 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    1 Answer

  • Morten Hauge
    Morten Hauge
    9,240 Points

    Error: Unexpected Symbol, can't compile.

    Posted May 11, 2016 7:00am by Morten Hauge
    Morten Hauge
    9,240 Points
    • C#
    • C# Objects
    • Object-Oriented Programming
    • Fields

    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.