✨ 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
    • Inheritance
    • Inheritance in Code
    • Close
  • Brett Studer
    Brett Studer
    707 Points

    Why doesn't Console.Write(x is MapLocation) print whether it's true or false in my code?

    Posted on Jun 8, 2022 by Brett Studer
    Brett Studer
    707 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Beau Coplin
    Beau Coplin
    7,903 Points

    Inheritance Challenge c#

    Posted on Apr 26, 2021 by Beau Coplin
    Beau Coplin
    7,903 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Chance Crawford
    Chance Crawford
    4,824 Points

    Point x = new MapLocation?

    Posted on Mar 11, 2020 by Chance Crawford
    Chance Crawford
    4,824 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Yusef Andrews
    Yusef Andrews
    3,982 Points

    So the "Base" keyword is basically forwarding the parameters from MapLocation to the Point constructor?

    Posted on Sep 14, 2019 by Yusef Andrews
    Yusef Andrews
    3,982 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

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

    "Base" keyword

    Posted on Jul 4, 2019 by Ilya Sikharulidze
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

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

    "new" keyword

    Posted on Jul 3, 2019 by Ilya Sikharulidze
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Hamzah Iqbal
    PLUS
    Hamzah Iqbal
    Courses Plus Student 2,529 Points

    Are you missing an assembly reference? 3 Errors just popped up, can anybody help me de-bug?

    Posted on Apr 19, 2019 by Hamzah Iqbal
    Hamzah Iqbal
    Courses Plus Student 2,529 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Ahmed M
    Ahmed M
    4,008 Points

    error CS0246

    Posted on Jul 16, 2018 by Ahmed M
    Ahmed M
    4,008 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Alwin Landler
    Alwin Landler
    1,070 Points

    Compilation error CS9010

    Posted on May 29, 2018 by Alwin Landler
    Alwin Landler
    1,070 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Derian McCrea
    Derian McCrea
    1,370 Points

    Simple question (I hope) regarding creating public vars and when to use Caps or lower case in methods.

    Posted on Feb 1, 2018 by Derian McCrea
    Derian McCrea
    1,370 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Jose Perez
    Jose Perez
    1,338 Points

    Don’t understand the topic fullly

    Posted on Nov 5, 2017 by Jose Perez
    Jose Perez
    1,338 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    4 Answers

  • Daniel Sanchez
    Daniel Sanchez
    1,748 Points

    using a method problem

    Posted on Oct 8, 2017 by Daniel Sanchez
    Daniel Sanchez
    1,748 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Unsubscribed User
    Unsubscribed User
    2,446 Points

    2:34 I don't understand why all of this got renamed...

    Posted on Aug 29, 2017 by Unsubscribed User
    Unsubscribed User
    2,446 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Darya Zata
    Darya Zata
    2,562 Points

    Avoid tipping all compile comand

    Posted on Aug 13, 2017 by Darya Zata
    Darya Zata
    2,562 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Hamilton Mtungwazi
    Hamilton Mtungwazi
    1,868 Points

    my code is failing to compile,someone to help,and its talking of missing an assembly point

    Posted on Aug 2, 2017 by Hamilton Mtungwazi
    Hamilton Mtungwazi
    1,868 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    2 Answers

  • Jack Stone
    Jack Stone
    9,838 Points

    C# Inheritance: console coming back with difference to tutorial

    Posted on Jul 6, 2017 by Jack Stone
    Jack Stone
    9,838 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Aryan Kumar
    Aryan Kumar
    96 Points

    If a change happens to the base class, do those the changes occur in the sub class as well?

    Posted on May 28, 2017 by Aryan Kumar
    Aryan Kumar
    96 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Michael North
    Michael North
    2,561 Points

    Dont understand

    Posted on Apr 25, 2017 by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • dsteelz
    dsteelz
    1,203 Points

    code wont work (with snapshots)

    Posted on Mar 8, 2017 by dsteelz
    dsteelz
    1,203 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • dsteelz
    dsteelz
    1,203 Points

    code doesn't work

    Posted on Mar 8, 2017 by dsteelz
    dsteelz
    1,203 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • LESTER POLICARPIO
    LESTER POLICARPIO
    2,139 Points

    Doing a test regarding Inheritance which throws error

    Posted on Jan 20, 2017 by LESTER POLICARPIO
    LESTER POLICARPIO
    2,139 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    4 Answers

  • Raiyan Rahman
    PLUS
    Raiyan Rahman
    Courses Plus Student 8,091 Points

    Unable to compile program.

    Posted on Dec 8, 2016 by Raiyan Rahman
    Raiyan Rahman
    Courses Plus Student 8,091 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Yi Ho Wong
    Yi Ho Wong
    6,377 Points

    Why use Point p = x; in the video?

    Posted on Nov 23, 2016 by Yi Ho Wong
    Yi Ho Wong
    6,377 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Tomas Baca
    Tomas Baca
    3,578 Points

    Code challenge error

    Posted on Oct 12, 2016 by Tomas Baca
    Tomas Baca
    3,578 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Donnell Schroeter
    Donnell Schroeter
    6,692 Points

    Point x = new MapLocation(4, 2);

    Posted on Oct 11, 2016 by Donnell Schroeter
    Donnell Schroeter
    6,692 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    1 Answer

  • Tomas Baca
    Tomas Baca
    3,578 Points

    Compiler error

    Posted on Oct 2, 2016 by Tomas Baca
    Tomas Baca
    3,578 Points
    • C#
    • C# Objects
    • Inheritance
    • Inheritance in Code

    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.