In C# one can type the using verb in line width the code sometimes, like
using (textwriter){ ..... }
I like that writing style and am wondered what is required to allow that for my own Api's.
In C# one can type the using verb in line width the code sometimes, like
using (textwriter){ ..... }
I like that writing style and am wondered what is required to allow that for my own Api's.
As long as your objects are IDisposable then you can use it with the using statement.