Skip to content

Commit df167a3

Browse files
authored
Merge pull request #34175 from wwlpublish/d38a9248c6f0e175a057044597dde87d-live
Modules/M04-format-alphanumeric-data-presentation-c-sharp
2 parents 40f94f7 + 3d365a4 commit df167a3

10 files changed

+12
-11
lines changed

learn-pr/wwl-language/csharp-format-strings/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: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/2-string-formatting-basics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Investigate string formatting basics
44
metadata:
55
title: Exercise - Investigate string formatting basics
66
description: "Exercise - Investigate string formatting basics"
7-
ms.date: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/3-exercise-string-interpolation.yml

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

learn-pr/wwl-language/csharp-format-strings/4-exercise-string-methods-padding.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Discover padding and alignment
44
metadata:
55
title: Exercise - Discover padding and alignment
66
description: "Exercise - Discover padding and alignment"
7-
ms.date: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/5-challenge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Exercise - Complete a challenge to apply string interpolation to a form l
44
metadata:
55
title: Exercise - Complete a challenge to apply string interpolation to a form letter
66
description: "Exercise - Complete a challenge to apply string interpolation to a form letter"
7-
ms.date: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/6-solution.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Review a solution to string interpolation
44
metadata:
55
title: Review a solution to string interpolation
66
description: "Review a solution to string interpolation"
7-
ms.date: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/7-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: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/8-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: 04/19/2023
7+
ms.date: 04/25/2023
88
author: wwlpublish
99
ms.author: eric
1010
ms.topic: interactive-tutorial

learn-pr/wwl-language/csharp-format-strings/includes/4-exercise-string-methods-padding.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22

3+
34
The `string.Format()` method is used to perform composite formatting such as in the example:
45

56
```csharp
@@ -83,7 +84,7 @@ You can also call a second *overloaded* version of the method and pass in whatev
8384

8485
Now, apply this newfound knowledge to another real world scenario.
8586

86-
## Exercise - Working with padded strings
87+
## Working with padded strings
8788

8889
Suppose you work for a payment processing company that still supports legacy mainframe systems. Often, those systems require data to be input in specific columns. For example, store the Payment ID in columns 1 through 6, the payee's name in columns 7 through 30, and the Payment Amount in columns 31 through 40. Also, importantly, the Payment Amount is right-aligned.
8990

@@ -169,7 +170,7 @@ Next, add a fictitious Payment Amount and make sure to use `PadLeft()` to right-
169170
769 Mr. Stephen Ortega $5,000.00
170171
```
171172

172-
This is pretty close to what you understood the legacy system maintainers were looking for.
173+
This output is pretty close to what you understood the legacy system maintainers were looking for.
173174

174175
### Add a line of numbers above the output to more easily confirm the result
175176

learn-pr/wwl-language/csharp-format-strings/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ uid: learn.languages.csharp-format-strings
33
metadata:
44
title: Format alphanumeric data for presentation in C#
55
description: "Format alphanumeric data for presentation in C#"
6-
ms.date: 04/19/2023
6+
ms.date: 04/25/2023
77
author: wwlpublish
88
ms.author: eric
99
ms.topic: interactive-tutorial

0 commit comments

Comments
 (0)