Skip to content

Why is the SqlDataReader not disposed in this example? #5914

@FrancescoBonizzi

Description

@FrancescoBonizzi

Why is the SqlDataReader not disposed in this example? I thought that it should be enclosed in a using statement or disposed after using it.

(If needed I can pull an edit)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions