From 1dee2b5cd9188e84a2c5cbf65c0584e51a2c4084 Mon Sep 17 00:00:00 2001 From: Loreno10 Date: Fri, 17 Jul 2020 12:11:24 +0200 Subject: [PATCH] Fix variable name in an example data -> person --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 05d020b..62c7c3c 100644 --- a/README.md +++ b/README.md @@ -575,7 +575,7 @@ var person = new Person var stream2 = new MemoryStream(); var ser2 = new DataContractJsonSerializer(typeof(Person)); -ser2.WriteObject(stream2, data); +ser2.WriteObject(stream2, person); stream2.Position = 0; var sr2 = new StreamReader(stream2);