La méthode Close de System.IO.StreamReader en C# permet de fermer le flux de lecture actuellement associé à l'objet StreamReader. Cela libère les ressources du système utilisées par le StreamReader. Il est recommandé d'appeler cette méthode lorsque vous avez terminé d'utiliser le StreamReader afin d'éviter les fuites de mémoire et d'améliorer les performances de votre application.
C# (CSharp) System.IO StreamReader.Close - 60 exemples trouvés. Ce sont les exemples réels les mieux notés de System.IO.StreamReader.Close extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.