✨ 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# Basics
    • Methods
    • Return Values
    • Close
  • Abigail Puckett
    Abigail Puckett
    2,111 Points

    Throwing a NullReferenceException

    Posted on Jan 23, 2024 by Abigail Puckett
    Abigail Puckett
    2,111 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • Brandon Hunt
    Brandon Hunt
    329 Points

    how do you return something

    Posted on May 18, 2023 by Brandon Hunt
    Brandon Hunt
    329 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    2 Answers

  • Alex Barnhart
    PLUS
    Alex Barnhart
    Courses Plus Student 5,767 Points

    how to return in a void object

    Posted on Apr 13, 2023 by Alex Barnhart
    Alex Barnhart
    Courses Plus Student 5,767 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • Brett Studer
    Brett Studer
    707 Points

    Adding two calls to Multiply a value from return

    Posted on Jun 3, 2022 by Brett Studer
    Brett Studer
    707 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    2 Answers

  • Elfar Oliver
    Elfar Oliver
    3,924 Points

    How do I add the two together? Am I supposed to create an Add value?

    Posted on Dec 4, 2021 by Elfar Oliver
    Elfar Oliver
    3,924 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • coconuttree24
    coconuttree24
    1,234 Points

    Completely stuck on the C# basics question. It keeps saying that I got the answer but not the way that it expected.

    Posted on Oct 18, 2021 by coconuttree24
    coconuttree24
    1,234 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    2 Answers

  • Ulyssa Sneed
    Ulyssa Sneed
    8,894 Points

    CS0201 error??

    Posted on May 13, 2021 by Ulyssa Sneed
    Ulyssa Sneed
    8,894 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    2 Answers

  • Donni Honig
    Donni Honig
    574 Points

    Attempting the Challenge on Return Values

    Posted on Nov 12, 2020 by Donni Honig
    Donni Honig
    574 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • Paul McCormick
    Paul McCormick
    9,816 Points

    Im Really not understanding what i need to do here! I've set the static from void to double, string, int etc and I don'

    Posted on Feb 22, 2020 by Paul McCormick
    Paul McCormick
    9,816 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • aaron quasius
    aaron quasius
    260 Points

    Cannot figure out what is the issue with this.

    Posted on Nov 7, 2019 by aaron quasius
    aaron quasius
    260 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • Sharon Gracious Thato Khumomotse
    Sharon Gracious Thato Khumomotse
    2,380 Points

    C# values

    Posted on Oct 28, 2019 by Sharon Gracious Thato Khumomotse
    Sharon Gracious Thato Khumomotse
    2,380 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    2 Answers

  • Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points

    Here's our version of the Multiply function from before. Update Multiply to return the multiplied value instead of print

    Posted on Oct 10, 2019 by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    3 Answers

  • Justin Amyx
    Justin Amyx
    2,280 Points

    I broke the C# basics test for Methods (final coding challenge)

    Posted on Sep 19, 2019 by Justin Amyx
    Justin Amyx
    2,280 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • Jan Kalasnikov
    Jan Kalasnikov
    7,167 Points

    Help with return value challenge

    Posted on Sep 11, 2019 by Jan Kalasnikov
    Jan Kalasnikov
    7,167 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    1 Answer

  • kal alben-mccave
    kal alben-mccave
    9,556 Points

    C# code challenge return value

    Posted on Sep 6, 2019 by kal alben-mccave
    kal alben-mccave
    9,556 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    3 Answers

  • Harry Pendleton
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Harry Pendleton
    Full Stack JavaScript Techdegree Student 12,192 Points

    I'm not too sure how to get the total from the returning values, I've tried adding them in the main but nothing works

    Posted on Aug 6, 2019 by Harry Pendleton
    .a{fill-rule:evenodd;}techdegree
    Harry Pendleton
    Full Stack JavaScript Techdegree Student 12,192 Points
    • C#
    • C# Basics
    • Methods
    • Return Values

    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.