Skip to content

Commit 3882969

Browse files
committed
Fix writing example
1 parent 0c84697 commit 3882969

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ var bookmarks = new BookmarkFolder()
4040
{
4141
new BookmarkLink("http://example.com", "Example")
4242
};
43-
var writter = new NetscapeBookmarksWritter(bookmarks);
43+
var writer = new NetscapeBookmarksWriter(bookmarks);
4444

45-
Console.WriteLine(writter.ToString());
45+
Console.WriteLine(writer.ToString());
4646

47-
//supports writting to stream with custom encoding
48-
writter.OutputEncoding = Encoding.GetEncoding(1257);
47+
//supports writing to stream with custom encoding
48+
writer.OutputEncoding = Encoding.GetEncoding(1257);
4949
using (var file = File.OpenWrite("path_to_file"))
5050
{
51-
writter.Write(file);
51+
writer.Write(file);
5252
}
5353
```

0 commit comments

Comments
 (0)