You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/implement-class-properties-methods/includes/6-create-class-methods.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ A method is a code block that contains a series of statements. A program causes
4
4
5
5
Methods are declared in a class, record, or struct by specifying:
6
6
7
-
1. An optional access level, such as `public` or `private`. The default is `private`.
8
-
1. Optional modifiers such as `abstract` or `sealed`.
9
-
1. The return value, or `void` if the method has none.
10
-
1. The method name.
11
-
1. Any method parameters. Method parameters are enclosed in parentheses and are separated by commas. Empty parentheses indicate that the method requires no parameters.
7
+
- An optional access level, such as `public` or `private`. The default is `private`.
8
+
- Optional modifiers such as `abstract` or `sealed`.
9
+
- The return value, or `void` if the method has none.
10
+
- The method name.
11
+
- Any method parameters. Method parameters are enclosed in parentheses and are separated by commas. Empty parentheses indicate that the method requires no parameters.
12
12
13
13
These parts work together to form the method signature.
0 commit comments