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
Henrik Christensen
Python Web Development Techdegree Student 38,299 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,832 Points

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

Henrik Christensen
Henrik Christensen
Python Web Development Techdegree Student 38,299 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
Henrik Christensen
Python Web Development Techdegree Student 38,299 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 :-)