Skip to content

Commit

Permalink
Update padright.md
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
mamtawardhani authored Dec 16, 2024
1 parent c9f4396 commit b47355d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/c-sharp/concepts/strings/terms/padright/padright.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Program
}
```

The output of the above code will be as follows:
The above code generates the output as follows:

```shell
'John '
Expand All @@ -66,7 +66,7 @@ class NameFormatter
}
```

The output of the above code will be as follows:
The output of the above code will be:

```shell
'John------'
Expand All @@ -90,15 +90,15 @@ class NamePaddingExample
}
```

The output of the above code will be as follows:
Here's what the output of this code will be:

```shell
'John'
```

## Codebyte Example

Run the following example to see how the `.PadRight()` method works:
Run the following example to understand how the `.PadRight()` method works:

```codebyte/csharp
using System;
Expand Down

0 comments on commit b47355d

Please sign in to comment.