c# - Reasons to use Close over Dispose for a Stream? -
this question has answer here:
is there ever valid reason use close method on stream instead of dispose?
only in system.windows.forms.form , system.data.sqlclient.sqlconnectoin close , dispose have different behavior. has dispose being hidden in situations behavior not clear in context. more explained here msdn difference between close , dispose
Comments
Post a Comment