Skip to content

Commit a032a28

Browse files
committed
[ksqlDB.RestApi.Client]: main example improvements in readme
1 parent 221b640 commit a032a28

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ This adds a `<PackageReference>` to your csproj file, similar to the following:
2222
The following example can be tried with a [.NET interactive Notebook](https://github.com/tomasfabian/ksqlDB.RestApi.Client-DotNet/tree/main/Samples/Notebooks):
2323

2424
```C#
25-
using System;
26-
using ConsoleAppKsqlDB;
2725
using ksqlDB.RestApi.Client.KSql.Linq;
26+
using ksqlDB.RestApi.Client.KSql.Query;
2827
using ksqlDB.RestApi.Client.KSql.Query.Context;
2928
using ksqlDB.RestApi.Client.KSql.Query.Options;
30-
using ksqlDB.RestApi.Client.Sample.Model;
3129

3230
var ksqlDbUrl = @"http:\\localhost:8088";
3331

@@ -52,14 +50,11 @@ Console.WriteLine("Press any key to stop the subscription");
5250

5351
Console.ReadKey();
5452

55-
namespace ConsoleAppKsqlDB
53+
public class Tweet : Record
5654
{
57-
public class Tweet : Record
58-
{
59-
public int Id { get; set; }
55+
public int Id { get; set; }
6056

61-
public string Message { get; set; }
62-
}
57+
public string Message { get; set; }
6358
}
6459
```
6560

0 commit comments

Comments
 (0)