Here’s a summary of what we learned in this lesson:
What is a function in C#, and why are they important in programming?
Can you describe the structure of a function in C#?
What does it mean for a function to ‘return’ a value, and why might this be useful?
How do you ‘call’ a function in your code?
What are function parameters, and how do they work?
Can you give an example of a built-in function we used, and explain what it does?
Why do you think functions are often used in programming instead of writing all code in a linear way?
What was the most challenging part of writing your own functions?
How can understanding and using functions make your code more efficient or easier to read?