using statement, try-with-resources C# style