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

    Variable naming conventions

    Posted on Jul 12, 2023 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 on Mar 3, 2021 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 on Sep 22, 2020 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 on Aug 24, 2019 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 on Jun 30, 2019 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 on Aug 25, 2018 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 on Jul 16, 2018 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 on Jul 3, 2018 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 on Jun 16, 2018 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 on May 29, 2018 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 on May 21, 2018 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 on Apr 8, 2018 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 on Feb 18, 2018 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 on Nov 23, 2017 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 on Jul 4, 2017 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 on Jun 21, 2017 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 on May 22, 2017 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 on Apr 23, 2017 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 on Mar 13, 2017 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 on Mar 2, 2017 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 on Feb 9, 2017 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 on Oct 5, 2016 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 on Sep 14, 2016 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 on Aug 19, 2016 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 on Jun 17, 2016 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 on Jun 17, 2016 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 on Jun 14, 2016 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 on Jun 13, 2016 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 on May 11, 2016 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.