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 trial

C# C# Objects Methods Methods

Rasmus Hall
Rasmus Hall
1,260 Points

what is a method again?

all these new words are hard to remember also hard to remember what videos teach what,

1 Answer

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

I would recommend sometimes re-watching the video(s) because this can help you understand things that you might not understand the first time :-)

But a method is a block of code that you can call again and again i.e. the WriteLine method

class Goose
{
    public void Greeting(string name)
    {
        Console.Write("Hello " + name);
    }
}
Rasmus Hall
Rasmus Hall
1,260 Points

ok thanks and do you recomend that i rewatch all 48 hours of videos on tree house i have watched`?

Ivan Penchev
Ivan Penchev
13,833 Points

NO dont rewatch all the 48 hours, rewatch just the part you are not sure about! :)

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

I meant, as Ivan said, just re-watch the previous video(s) where there might be something that you didn't understand :-)

example: You were not sure about what a method was because you're learning all these new words - then just re-watch that video where the teacher explains what a method is :-)

No need to re-watch all 48 hours :-P

Rasmus Hall
Rasmus Hall
1,260 Points

but i dont know when or where the different things are explained

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

Using the method as an exampel again:

You can look that this challenge is named Methods (hover those circles above the "video- challenge- quiz frame") and that usually means that methods were explained in the previous video - the topics in the challenges are usually explained in the previous video :-)

But again, it's just a suggestion to re-watch the videos because the response time on the forum can be very looooong (sometimes), and re-watching the previous video can therefor save you some time - if you don't like waiting for a response :-)