Fix strings in readme (#621)

This commit is contained in:
Wesley Baartman 2021-12-13 10:14:29 +01:00 committed by GitHub
parent 2675b3201b
commit 5cb1496e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,8 +47,8 @@ C# is meant to make things easier. So lets try to wrap it up in a way that makes
```csharp
foreach ( var friend in SteamFriends.GetFriends() )
{
Console.WriteLine( "{friend.Id}: {friend.Name}" );
Console.WriteLine( "{friend.IsOnline} / {friend.SteamLevel}" );
Console.WriteLine( $"{friend.Id}: {friend.Name}" );
Console.WriteLine( $"{friend.IsOnline} / {friend.SteamLevel}" );
friend.SendMessage( "Hello Friend" );
}
@ -200,7 +200,7 @@ Query a list of workshop items
foreach ( Ugc.Item entry in result.Value.Entries )
{
Console.WriteLine( $" {entry.Title}" );
Console.WriteLine( $"{entry.Title}" );
}
```