using C# with Example
There are two types of using keyword usage, using statement and using directive: 1. using statement: The using keyword ensures that objects that implement the IDisposable interface are properly disposed after usage. There is a separate topic for the using statement 2. using directive The using directive has three usages, see the msdn page for the using directive. There is a separate topic for the using directive.