reader class : Release() method

Description

Release the unmanaged resources that are used in the reader.

Syntax

readerInstance.Release()

Arguments

None.

Return value

None.

Sample code

1:

reader r = new reader("c:\somewhere...\sample.txt");

2:

r.Release();

Notes

Call the Dispose() method for releasing instances of System.IO.StreamReader which is used in reader class.

The instance that called the Release() method is returned to the uninitialized state.

Links for reference

None.

Copyright © Cooker All rights reserved.