Skip to content

Commit 996b1de

Browse files
Update _index.md
1 parent fcfb480 commit 996b1de

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • content/english/net/basic-usage/get-document-info-from-stream

content/english/net/basic-usage/get-document-info-from-stream/_index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ Here, we retrieve the document information using the `GetDocumentInfo()` method,
3838
## Step 3: Display Document Info
3939
```csharp
4040
Console.WriteLine("\nFile type: {0}\nNumber of pages: {1}\nDocument size: {2} bytes", info.FileType, info.PageCount, info.Size);
41-
```
42-
In this step, we print out the extracted document information including file type, page count, and size using the `Console.WriteLine()` method.
43-
## Step 4: Cleanup Resources
44-
```csharp
4541
}
4642
```
43+
In this step, we print out the extracted document information including file type, page count, and size using the `Console.WriteLine()` method.
44+
4745
Finally, we wrap up by closing the `Comparer` object within a `using` block to ensure proper resource disposal.
4846

4947
## Conclusion

0 commit comments

Comments
 (0)