Skip to content

Commit 12236e9

Browse files
authored
Merge pull request #34183 from wwlpublish/e7bf5da1e95a70edf447d1dd14807712-live
Modules/M01-write-your-first-c-sharp-method
2 parents 90e6ed4 + 738c0f1 commit 12236e9

18 files changed

+93
-342
lines changed

learn-pr/wwl-language/write-first-c-sharp-method/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 03/21/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/write-first-c-sharp-method/2-understand-syntax-of-methods.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Understand the syntax of methods
44
metadata:
55
title: Understand the syntax of methods
66
description: "Understand the syntax of methods"
7-
ms.date: 03/21/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
### YamlMime:ModuleUnit
22
uid: learn.wwl.write-first-c-sharp-method.exercise-create-your-first-method
3-
title: Create your first method
3+
title: Exercise - Create your first method
44
metadata:
5-
title: Create your first method
6-
description: "Create your first method"
7-
ms.date: 03/21/2023
5+
title: Exercise - Create your first method
6+
description: "Exercise - Create your first method"
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial
1111
ms.prod: learning-azure
12-
durationInMinutes: 3
12+
durationInMinutes: 10
1313
content: |
1414
[!include[](includes/3-exercise-create-your-first-method.md)]

learn-pr/wwl-language/write-first-c-sharp-method/4-exercise-create-reusable-methods.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
### YamlMime:ModuleUnit
22
uid: learn.wwl.write-first-c-sharp-method.exercise-create-reusable-methods
3-
title: Create reusable methods
3+
title: Exercise - Create reusable methods
44
metadata:
5-
title: Create reusable methods
6-
description: "Create reusable methods"
7-
ms.date: 03/21/2023
5+
title: Exercise - Create reusable methods
6+
description: "Exercise - Create reusable methods"
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial
1111
ms.prod: learning-azure
12-
durationInMinutes: 3
12+
durationInMinutes: 10
1313
content: |
1414
[!include[](includes/4-exercise-create-reusable-methods.md)]
1515
quiz:
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
### YamlMime:ModuleUnit
22
uid: learn.wwl.write-first-c-sharp-method.exercise-build-code-with-methods
3-
title: Build code with methods
3+
title: Exercise - Build code with methods
44
metadata:
5-
title: Build code with methods
6-
description: "Build code with methods"
7-
ms.date: 03/21/2023
5+
title: Exercise - Build code with methods
6+
description: "Exercise - Build code with methods"
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial
1111
ms.prod: learning-azure
12-
durationInMinutes: 3
12+
durationInMinutes: 10
1313
content: |
1414
[!include[](includes/5-exercise-build-code-with-methods.md)]

learn-pr/wwl-language/write-first-c-sharp-method/6-exercise-challenge-restructure-code-to-use-methods.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.wwl.write-first-c-sharp-method.exercise-challenge-restructure-code-to-use-methods
3-
title: Complete the challenge
3+
title: Exercise - Complete the challenge to create a reusable method
44
metadata:
5-
title: Complete the challenge
6-
description: "Complete the challenge"
7-
ms.date: 03/21/2023
5+
title: Exercise - Complete the challenge to create a reusable method
6+
description: "Exercise - Complete the challenge to create a reusable method"
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/write-first-c-sharp-method/7-review-solution-restructure-code-to-use-methods.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### YamlMime:ModuleUnit
22
uid: learn.wwl.write-first-c-sharp-method.review-solution-restructure-code-to-use-methods
3-
title: Review the solution
3+
title: Review the solution to create a reusable method
44
metadata:
5-
title: Review the solution
6-
description: "Review the solution"
7-
ms.date: 03/21/2023
5+
title: Review the solution to create a reusable method
6+
description: "Review the solution to create a reusable method"
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/write-first-c-sharp-method/8-knowledge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Knowledge check
44
metadata:
55
title: Knowledge check
66
description: "Knowledge check"
7-
ms.date: 03/21/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/write-first-c-sharp-method/9-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Summary
44
metadata:
55
title: Summary
66
description: "Summary"
7-
ms.date: 03/21/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: buzahid
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/write-first-c-sharp-method/includes/1-introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22

3+
34
The C# programming language allows you to create all sorts of robust applications. Suppose you want to write code to perform operations on unpredictable user input. You may want to add logic to handle incorrect input, convert input into a workable format, and perform the correct operation. As your applications grow larger in size, keeping track of your code can quickly become a challenge.
45

56
Methods, also called functions, are a key part of keeping code structured, efficient, and readable. A method is a modular unit of code, and a fundamental programming concept. A method is often designed to perform a specific task and contains code to execute that task. The name of a method should clearly reflect its task, which improves code readability. Learning how to use methods will help you build feature-rich applications more quickly.

0 commit comments

Comments
 (0)