[Solved] Can any one explain why StreamWriter is an Unmanaged Resource.
StreamWriter is not an unmanged resource, its a .NET class, and it is 100% managed. Another totally different thing is that StreamWriter might internally use unmanaged resources or own an IDisposable object that in turn might use an unmanaged resource, or simply extends a class that implements IDisposable. The latter two are the reasons why … Read more