Skip to content

Commit b93e50b

Browse files
committed
fixes
1 parent 4c5fc4c commit b93e50b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Content/Chapter-10-methods/exercises-methods/exercises-methods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ In order to learn in practice what we have learned about methods we will **solve
66

77
Before starting, let's review what we have learned about the **methods in C\#**:
88

9-
* We learned that the **purpose** of methods is to **divide** big programs with a lot of lines of code into smaller, shorter tasks.
9+
* We learned that the **purpose** of methods is to **split** big programs with a lot of lines of code into smaller, shorter tasks.
1010
* We introduced ourselves with the **structure** of methods, how to **declare** them and **invoke** them by their name.
1111
* We went over examples for methods with **parameters** and how to use them in our program.
12-
* We learned what **signature** and **return value** of a method is and also what is the function of the operator `return`.
12+
* We learned what **signature** and **return value** of a method is and also what is the purpose of the operator `return`.
1313
* We introduced ourselves with the **good practice** when working with methods, how to name them and their parameters, how to format code, etc.
1414

1515
### Defining a Method
@@ -25,7 +25,7 @@ static double CircleArea(double radius)
2525

2626
### Invoking a Method
2727

28-
This is how we **invoke a method**, pass a parameter value for the invocation and process the returned value:
28+
This is how we **invoke a method**, pass a parameter value (**argument**) for the invocation and process the returned value:
2929

3030
```csharp
3131
Console.WriteLine("a = {0}, area = {1}", 5.33, CircleArea(5.33));

Content/Chapter-10-methods/exercises-methods/hello-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Problem: "Hello, Name!"
22

3-
Write a method which takes a name as a parameter and prints on the console "*Hello, \<name\>!*".
3+
Write a method which takes a name as a parameter and prints on the console "*Hello, \{name\}!*".
44

55
## Sample Input and Output
66

0 commit comments

Comments
 (0)