Skip to content

Commit 212197a

Browse files
authored
changed files by pdets auto publish service, publishid[5b44a0c6-1bfb-4643-be81-2b90db7ee62b] and do [publish].
1 parent aa06c68 commit 212197a

13 files changed

+50
-54
lines changed

learn-pr/wwl-azure/implement-class-inheritance/01-introduction.yml renamed to learn-pr/wwl-azure/implement-class-inheritance/1-introduction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: Introduction
44
metadata:
55
title: Introduction
66
description: "Introduction"
7-
ms.date: 03/04/2025
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit
1111
durationInMinutes: 3
1212
content: |
13-
[!include[](includes/01-introduction.md)]
13+
[!include[](includes/1-introduction.md)]

learn-pr/wwl-azure/implement-class-inheritance/2-examine-principals-inheritance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ uid: learn.wwl.implement-class-inheritance.examine-principals-inheritance
33
title: Examine the principals of class inheritance
44
metadata:
55
title: Examine the principals of class inheritance
6-
description: "Examine the principals of class inheritance."
7-
ms.date: 03/04/2025
6+
description: "Examine the principals of class inheritance"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/3-configure-base-derived-classes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ uid: learn.wwl.implement-class-inheritance.configure-base-derived-classes
33
title: Configure base and derived classes
44
metadata:
55
title: Configure base and derived classes
6-
description: "Configure base and derived classes."
7-
ms.date: 03/04/2025
6+
description: "Configure base and derived classes"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/4-examine-derived-class-new-members.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ uid: learn.wwl.implement-class-inheritance.examine-derived-class-new-members
33
title: Extend a derived class with new members
44
metadata:
55
title: Extend a derived class with new members
6-
description: "Extend a derived class with new members."
7-
ms.date: 03/04/2025
6+
description: "Extend a derived class with new members"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/5-override-properties-methods-derived-class.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ uid: learn.wwl.implement-class-inheritance.override-properties-methods-derived-c
33
title: Override properties and methods in a derived class
44
metadata:
55
title: Override properties and methods in a derived class
6-
description: "Override properties and methods in a derived class."
7-
ms.date: 03/04/2025
6+
description: "Override properties and methods in a derived class"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/6-access-base-class-members-derived-class.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ uid: learn.wwl.implement-class-inheritance.access-base-class-members-derived-cla
33
title: Access base class members from a derived class
44
metadata:
55
title: Access base class members from a derived class
6-
description: "Access base class members from a derived class."
7-
ms.date: 03/04/2025
6+
description: "Access base class members from a derived class"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/7-exercise-implement-base-derived-classes.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.implement-class-inheritance.exercise-implement-base-derived-classes
3-
title: Exercise - Implement base and derived classes
3+
title: Exercise - Implement base and derived classes in a C# app
44
metadata:
5-
title: Exercise - Implement base and derived classes
6-
description: "Exercise - Implement base and derived classes."
7-
ms.date: 03/04/2025
5+
title: Exercise - Implement base and derived classes in a C# app
6+
description: "Exercise - Implement base and derived classes in a C# app"
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/8-knowledge-check.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,58 @@ title: Knowledge check
44
metadata:
55
title: Knowledge check
66
description: "Knowledge check"
7-
ms.date: 03/04/2025
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit
1111
durationInMinutes: 3
1212
quiz:
1313
title: "Check your knowledge"
1414
questions:
15-
- content: "What does the colon (:) character indicate in the declaration of a derived class in C#?"
15+
- content: "What does the colon (`:`) character indicate in the declaration of a derived class in C#?"
1616
choices:
1717
- content: "It indicates that the derived class is implementing an interface."
1818
isCorrect: false
19-
explanation: "Incorrect. The colon (:) character in C# is used to indicate inheritance, not interface implementation."
19+
explanation: "Incorrect. The colon (`:`) character in C# is used to indicate inheritance, not interface implementation."
2020
- content: "It indicates that the derived class is defining a new property or method."
2121
isCorrect: false
22-
explanation: "Incorrect. The colon (:) character in C# is used to indicate inheritance, not the definition of new properties or methods."
22+
explanation: "Incorrect. The colon (`:`) character in C# is used to indicate inheritance, not the definition of new properties or methods."
2323
- content: "It indicates that the derived class is inheriting from a base class."
2424
isCorrect: true
25-
explanation: "Correct. In C#, the colon (:) character is used in the declaration of a derived class to indicate that it's inheriting from a base class."
26-
- content: "What is the effect of the 'sealed' keyword in C# inheritance?"
25+
explanation: "Correct. In C#, the colon (`:`) character is used in the declaration of a derived class to indicate that it's inheriting from a base class."
26+
- content: "What is the effect of the `sealed` keyword in C# inheritance?"
2727
choices:
2828
- content: "It allows a method to be overridden in derived classes."
2929
isCorrect: false
30-
explanation: "Incorrect. The 'sealed' keyword prevents a method from being overridden in derived classes."
30+
explanation: "Incorrect. The `sealed` keyword prevents a method from being overridden in derived classes."
3131
- content: "It allows a class to be used as a base class for other classes."
3232
isCorrect: false
33-
explanation: "Incorrect. The 'sealed' keyword prevents a class from being used as a base class for other classes."
33+
explanation: "Incorrect. The `sealed` keyword prevents a class from being used as a base class for other classes."
3434
- content: "It prevents a class or class member from being inherited or overridden."
3535
isCorrect: true
36-
explanation: "Correct. The 'sealed' keyword in C# is used to prevent a class or class member from being inherited or overridden."
37-
- content: "What is the purpose of using the 'new' keyword when defining members in a derived class?"
36+
explanation: "Correct. The `sealed` keyword in C# is used to prevent a class or class member from being inherited or overridden."
37+
- content: "What is the purpose of using the `new` keyword when defining members in a derived class?"
3838
choices:
3939
- content: "To hide base class members intentionally or to avoid accidental overriding of base class members."
4040
isCorrect: true
41-
explanation: "Correct. The 'new' keyword allows you to define new members in a derived class that have the same name as members in the base class. The 'new' keyword hides the corresponding base class members."
41+
explanation: "Correct. The `new` keyword allows you to define new members in a derived class that have the same name as members in the base class. The `new` keyword hides the corresponding base class members."
4242
- content: "To create a new instance of the derived class."
4343
isCorrect: false
44-
explanation: "Incorrect. The 'new' keyword doesn't create a new instance of the derived class."
44+
explanation: "Incorrect. The `new` keyword doesn't create a new instance of the derived class."
4545
- content: "To override the base class members with the same name."
4646
isCorrect: false
47-
explanation: "Incorrect. The 'new' keyword doesn't override base class members."
48-
- content: "What is the purpose of the 'override' keyword in C#?"
47+
explanation: "Incorrect. The `new` keyword doesn't override base class members."
48+
- content: "What is the purpose of the `override` keyword in C#?"
4949
choices:
5050
- content: "It indicates that the member has no implementation and must be overridden in a derived class."
5151
isCorrect: false
52-
explanation: "Incorrect. The 'override' keyword doesn't indicate that the member has no implementation and must be overridden in a derived class. This definition matches the `abstract` keyword."
52+
explanation: "Incorrect. The `override` keyword doesn't indicate that the member has no implementation and must be overridden in a derived class. This definition matches the `abstract` keyword."
5353
- content: "It indicates that the base class member is extended or modified in the derived class."
5454
isCorrect: true
55-
explanation: "Correct. The 'override' keyword in C# is used to extend or modify the behavior of the base class. Overriding provides custom implementations for properties and methods inherited from the base class."
55+
explanation: "Correct. The `override` keyword in C# is used to extend or modify the behavior of the base class. Overriding provides custom implementations for properties and methods inherited from the base class."
5656
- content: "It indicates that the derived class hides members of the base class with new implementations."
5757
isCorrect: false
58-
explanation: "Incorrect. The 'override' keyword doesn't hide members of the base class with new implementations in the derived class. This definition matches the `new` keyword."
58+
explanation: "Incorrect. The `override` keyword doesn't hide members of the base class with new implementations in the derived class. This definition matches the `new` keyword."
5959
- content: "What is the purpose of the `base` keyword in a derived class?"
6060
choices:
6161
- content: "To access derived class members from a base class."

learn-pr/wwl-azure/implement-class-inheritance/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/04/2025
7+
ms.date: 03/05/2025
88
author: wwlpublish
99
ms.author: cahowd
1010
ms.topic: unit

learn-pr/wwl-azure/implement-class-inheritance/includes/01-introduction.md renamed to learn-pr/wwl-azure/implement-class-inheritance/includes/1-introduction.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Imagine you're working at a non-profit company that's in the midst of a software
44

55
The topics covered in this module include:
66

7-
- Understanding Class Inheritance and Polymorphism in C#
8-
- Understanding Inheritance, Member Visibility and Keywords in C#
9-
- Extending Derived Classes with New Members and Resolving Naming Conflicts
10-
- Overriding and Hiding Properties and Methods in Derived Classes in C#
11-
- Using the 'base' Keyword to Access Base Class Members from a Derived Class
12-
- Implementing Base and Derived Classes in C# - Exercise
7+
- Examine the principals of class inheritance.
8+
- Configure base and derived classes.
9+
- Extend a derived class with new members.
10+
- Override properties and methods in a derived class.
11+
- Access base class members from a derived class.
12+
- Implement base and derived classes in a C# app.
1313

1414
After completing this module, you're able to:
1515

@@ -19,6 +19,6 @@ After completing this module, you're able to:
1919
- Describe the use of `new` and `override` keywords in a derived class.
2020
- Override properties and methods in a derived class.
2121
- Access base class members in a derived class.
22-
- Implement base and derived classes in a C# program.
22+
- Implement base and derived classes in a C# app.
2323

24-
By the end of this module, you have a solid understanding of class inheritance in C# and be able to implement a class hierarchy using base and derived classes.
24+
By the end of this module, you have a solid understanding of class inheritance in C# and you're able to implement a class hierarchy using base and derived classes.

0 commit comments

Comments
 (0)