StreamReader class has both close and dispose method. I want to know which method to call to clean up all resources.
If making use of using block, I think it will c
If you want further information about using
, take a look here
Using
Quote from site:
The using statement allows the programmer to specify when objects that use resources should release them. The object provided to the using statement must implement the IDisposable interface. This interface provides the Dispose method, which should release the object's resources.