Why using variable treated as readonly? It is c# language specification or managed languages specification? It is because c# is a .net language? Thanks in advan
If you mean the variable instantiated at the start of a using block, then it's read only because it needs to be disposed at the end of the block. The point of a using block is to have a resource destroyed in a predictable way rather than waiting for the garbage collector to do it's job.