Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRobert Rydlewski
3,828 PointsThis question is not clear for me..
I would write ```using System;
namespace Simple { class Program { static void Main(string[] args) { Console.WriteLine("This is C#"); } } }```
However this code in this challenge is different I have no clue why the method Static void is up and what supposed to do ??? I have no clue
1 Answer
Steven Parker
231,269 PointsThe code shown above doesn't create or use a second method, but that's what these quiz questions are all about.
The "static void" declaration on both methods just means that they can be used without creating a class instance (the "static") part, and that nether one returns a final value (the "void" part).
But that part of the code is already provided in all questions and won't be part of the blanks to fill in.
Robert Rydlewski
3,828 PointsRobert Rydlewski
3,828 PointsThank you for your response. I eventually get it and understood the logic behind it.