Skip to content

Commit 667e70b

Browse files
Merge pull request #50673 from wwlpublish/882fb6eb904537ee56fa040133256c81cb1967f9cd5ae798fd376de9b62a7fff-live
Modules/M03-implement-enum-struct-record-types
2 parents a4ef69c + 85aa290 commit 667e70b

9 files changed

+12
-11
lines changed

learn-pr/wwl-azure/implement-enum-struct-record-types/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 to the module."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit

learn-pr/wwl-azure/implement-enum-struct-record-types/2-use-enums-represent-named-constants-csharp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Use enums to represent named constants in C#
44
metadata:
55
title: Use enums to represent named constants in C#
66
description: "Learn how to use enums in C# to define named constants and improve code readability."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit

learn-pr/wwl-azure/implement-enum-struct-record-types/3-create-structs-encapsulate-data-csharp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Create encapsulated data with structs in C#
44
metadata:
55
title: Create encapsulated data with structs in C#
66
description: "Learn how to use structs in C# to group related data into lightweight, efficient containers."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit

learn-pr/wwl-azure/implement-enum-struct-record-types/4-apply-records-immutable-data-models-csharp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Apply records for immutable data models in C#
44
metadata:
55
title: Apply records for immutable data models in C#
66
description: "Learn how to use records in C# to create immutable data models with value-based equality."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit

learn-pr/wwl-azure/implement-enum-struct-record-types/5-exercise-implement-enum-struct-record-types.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Implement enum, struct, and record types
44
metadata:
55
title: Exercise - Implement enum, struct, and record types
66
description: "Practice implementing enums, structs, and records in C# to reinforce your understanding of these concepts."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit

learn-pr/wwl-azure/implement-enum-struct-record-types/6-knowledge-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Module assessment
44
metadata:
55
title: Module assessment
66
description: "Check what you've learned in this module."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit
@@ -29,13 +29,13 @@ quiz:
2929
explanation: "Incorrect. Enums aren't designed for mathematical operations but for representing fixed sets of values."
3030
- content: "What keyword is used to define a struct in C#?"
3131
choices:
32-
- content: "Struct"
32+
- content: "struct"
3333
isCorrect: true
3434
explanation: "Correct. The 'struct' keyword is used to define a struct in C#. It allows creating a value type that encapsulates related data."
35-
- content: "Class"
35+
- content: "class"
3636
isCorrect: false
3737
explanation: "Incorrect. The 'class' keyword is used to define reference types, not value types like structs."
38-
- content: "Interface"
38+
- content: "interface"
3939
isCorrect: false
4040
explanation: "Incorrect. The 'interface' keyword is used to define contracts for classes or structs, not the struct itself."
4141
- content: "What is the primary advantage of using records in C# for data modeling?"

learn-pr/wwl-azure/implement-enum-struct-record-types/7-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: "Summarize the key concepts covered in this module."
7-
ms.date: 04/01/2025
7+
ms.date: 05/28/2025
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: unit
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

22

3+
34
Choose the best response for each of the following questions.

learn-pr/wwl-azure/implement-enum-struct-record-types/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.wwl.implement-enum-struct-record-types
33
metadata:
44
title: Implement Enum, Struct, and Record Types
55
description: "Learn to create organized, maintainable code with enum, struct, and record types in C#."
6-
ms.date: 04/01/2025
6+
ms.date: 05/28/2025
77
author: wwlpublish
88
ms.author: eric
99
ms.topic: module

0 commit comments

Comments
 (0)