We use cookies to enhance your browsing experience.

Learn More
Back to Library
CSHARPcsharp

Using Statement

Auto-dispose resources.

using (var file = new StreamReader("data.txt")) {
    // file is disposed automatically here
}
csharp memory syntax
25+Total Tools
Operations
4Languages
100%Privacy

We use cookies to enhance your experience and serve personalized ads.