Wrap an object in a disposable decorator to attempt to dispose the object later. This is useful when retrieving an instance of an object from a factory or container while only having an interface reference. If the interface does not implement IDisposable or IAsyncDisposable, but the concrete class...
More information
Add to the *.cs file header:
using static ClrPro.ESharp;
And use:
Using(new MyScopeExtension()).Do(s=>{ Console.WriteLine(s.ToString());})
var myAction = Y(()=>return 10); // myAction have type Func<int>;