With the C# 8.0 update, Microsoft has introduced the using declaration feature. This feature allows us to declare a disposable object with the keyword using so the object will be disposed of when it goes out of the scope.
Read more: https://www.syncfusion.com/blogs/post/csharp-8-0-using-declaration.aspx