I was playing around with System.Net.HttpListenerResponse
today, and I noticed that there is still apparently a gap in my knowledge regarding using
.
using (HttpListenerResponse response = context.Response)
{
// Do stuff
}
Is perfectly valid code, however, the object has no Dispose() method.
Why does using
still work?