Skip to content

Commit 1f5e85b

Browse files
authored
Merge branch 'MicrosoftDocs:main' into main
2 parents c7b1b02 + c0d3997 commit 1f5e85b

File tree

317 files changed

+10540
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+10540
-24
lines changed

learn-pr/azure/introduction-to-migrating-aws-to-azure/index.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,4 @@ units:
5151
- learn.introduction-migrating-aws-azure.knowledge-check
5252
- learn.introduction-migrating-aws-azure.summary
5353
badge:
54-
uid: /training/achievements/generic-badge.svg
55-
# TODO: This badge will need to be created
56-
# uid: learn.introduction-migrating-aws-azure.badge
54+
uid: learn.introduction-migrating-aws-azure.badge

learn-pr/azure/introduction-to-migrating-gcp-to-azure/index.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,4 @@ units:
5151
- learn.introduction-migrating-gcp-azure.knowledge-check
5252
- learn.introduction-migrating-gcp-azure.summary
5353
badge:
54-
uid: /training/achievements/generic-badge.svg
55-
# TODO: This badge will need to be created
56-
# uid: learn.introduction-migrating-gcp-azure.badge
54+
uid: learn.introduction-migrating-gcp-azure.badge

learn-pr/azure/terraform-introduction-to-infrastructure-as-code/includes/3-azure-resource-manager-terraform-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This unit covers the difference between Azure Resource Manager and Terraform sta
66

77
### Azure Resource Manager
88

9-
Azure Resource Manager is the service that's used to deploy and manage resources in Azure with Bicep or ARM templates. You can use Resource Manager to create, update, and delete resources in your Azure subscription. It expects a declarative template that it translates that into a set of idempotent commands to create or update your resources.
9+
Azure Resource Manager is the service that's used to deploy and manage resources in Azure with Bicep or ARM templates. You can use Resource Manager to create, update, and delete resources in your Azure subscription. It expects a declarative template that it translates into a set of idempotent commands to create or update your resources.
1010

1111
### Terraform State
1212

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: "Introduction"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.compare-structured-object-oriented-programming
3+
title: Compare structured and object-oriented programming
4+
metadata:
5+
title: Compare structured and object-oriented programming
6+
description: "Compare structured and object-oriented programming"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 4
12+
content: |
13+
[!include[](includes/2-compare-structured-object-oriented-programming.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.examine-dotnet-type-system
3+
title: Examine the .NET type system
4+
metadata:
5+
title: Examine the .NET type system
6+
description: "Examine the .NET type system"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 9
12+
content: |
13+
[!include[](includes/3-examine-dotnet-type-system.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.design-use-classes
3+
title: Design and use classes
4+
metadata:
5+
title: Design and use classes
6+
description: "Design and use classes"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 11
12+
content: |
13+
[!include[](includes/4-design-use-classes.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.create-class-constructors-instantiate-objects
3+
title: Create class constructors and instantiate objects
4+
metadata:
5+
title: Create class constructors and instantiate objects
6+
description: "Create class constructors and instantiate objects"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 14
12+
content: |
13+
[!include[](includes/5-create-class-constructors-instantiate-objects.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.exercise-create-classes-instantiate-objects
3+
title: Exercise - Create classes and objects in C#
4+
metadata:
5+
title: Exercise - Create classes and objects in C#
6+
description: "Exercise - Create classes and objects in C#"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 25
12+
content: |
13+
[!include[](includes/6-exercise-create-classes-instantiate-objects.md)]
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.get-started-classes-objects.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
title: Knowledge check
6+
description: "Knowledge check"
7+
ms.date: 02/07/2025
8+
author: wwlpublish
9+
ms.author: cahowd
10+
ms.topic: unit
11+
durationInMinutes: 4
12+
quiz:
13+
title: "Check your knowledge"
14+
questions:
15+
- content: "What is a `class` type in a C# program?"
16+
choices:
17+
- content: "An object stored in memory."
18+
isCorrect: false
19+
explanation: "Incorrect. While a class is the blueprint for an object that is stored in memory, a class itself isn't stored in memory."
20+
- content: "Something for which you receive a letter grade."
21+
isCorrect: false
22+
explanation: "Incorrect. Letter grades are awarded for educational classes, but that's not the type of class being discussed here."
23+
- content: "A blueprint that's used to create an object."
24+
isCorrect: true
25+
explanation: "Correct. A class defines what an object contains and what it can do."
26+
- content: "What is an object in a C# program?"
27+
choices:
28+
- content: "It's a term used to describe an entity or thing."
29+
isCorrect: false
30+
explanation: "Incorrect. While the term object can be used in this way, in computer programming the term refers to the instantiation of a class."
31+
- content: "A data record that represents a single entity."
32+
isCorrect: false
33+
explanation: "Incorrect. An object isn't thought of as a data record."
34+
- content: "An object is an in-memory instance of a class."
35+
isCorrect: true
36+
explanation: "Correct. An object in an in-memory \"instance\" of a class."
37+
- content: "What is the role of a constructor in a class?"
38+
choices:
39+
- content: "It's used to release any resources which must be handled appropriately before the object is removed from memory."
40+
isCorrect: false
41+
explanation: "Incorrect. Releasing resources is the role of a finalizer, not a constructor."
42+
- content: "It provides notifications about occurrences, such as button clicks or the successful completion of a method, to other objects."
43+
isCorrect: false
44+
explanation: "Incorrect. Providing notifications is the role of events, not a constructor."
45+
- content: "It's called when the object is first created and is often used to initialize the data of an object."
46+
isCorrect: true
47+
explanation: "Correct. A constructor initializes the data of an object when it's first created."
48+
- content: "What is the purpose of class properties in C# programming?"
49+
choices:
50+
- content: "Class properties are used to define the actions (behaviors) that a class can perform."
51+
isCorrect: false
52+
explanation: "Incorrect. Class methods, not properties, define the actions or behaviors that a class can perform."
53+
- content: "Class properties are used to organize large code projects."
54+
isCorrect: false
55+
explanation: "Incorrect. Namespaces, not class properties, are used to organize large code projects."
56+
- content: "Class properties are used to manage the data that differentiates one object (class instance) from another object of the same type."
57+
isCorrect: true
58+
explanation: "Correct. Class properties manage the data that differentiates one object from another of the same type."
59+
- content: "What is the purpose of a static constructor in a class?"
60+
choices:
61+
- content: "It can be called directly and multiple times throughout the program."
62+
isCorrect: false
63+
explanation: "Incorrect. A static constructor can't be called directly and is only meant to be called by the common language runtime (CLR). It's invoked automatically and only once."
64+
- content: "It's used to initialize any instance field variables when an object is created."
65+
isCorrect: false
66+
explanation: "Incorrect. Instance constructors, not static constructors, are used to initialize instance field variables when an object is created."
67+
- content: "It's used to initialize any static data, or to perform a particular action that needs to be performed only once."
68+
isCorrect: true
69+
explanation: "Correct. A static constructor is used to initialize any static data, or to perform a particular action that needs to be performed only once. It's called automatically before the first instance is created or any static members are referenced."

0 commit comments

Comments
 (0)