Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Fix to use csharp instead of C# in code blocks #9296

Merged
merged 1 commit into from
Oct 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pages/csharp/async-await/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To learn more about using the promise model to handle asynchrony, check out this
## Examples

1. Submit Form to the Server
```C#
```csharp
private readonly string url = 'http://localhost:3000/api/submit';
private readonly HttpContent formContent = new HttypContent();

Expand All @@ -32,7 +32,7 @@ SubmitButton.Clicked += async (object, event) =>
```

2. "Latches" Synchronizer
```C#
```csharp
public async Task<int> CalcDamage(Player player)
{
// CPU-intense method, calculate afflicted damage done to the
Expand Down