1 Place the broccoli on a baking sheet (foil-covered if you want to make clean up easier). 2  3. Spray the broccoli with canola oil or drizzle with olive oil, tossing to coat and sprinkle with salt. 3  4. Roast in the oven for 25-30 minutes, or until broccoli is crisp.
In object-oriented programming, a finalizer or finalize method is a special method that performs finalization, generally some form of cleanup. A finalizer is executed during object destruction, prior to the object being deallocated, and is complementary to an initializer, which is executed during object creation, following allocation.
Explicitly, it is called by user code and the class which is implementing dispose method, must has to implement IDisposable interface. Internally, it is called by Garbage Collector and cannot be called by user code. It belongs to IDisposable interface. It belongs to Object class.his article helps you to understand the difference between Finalize and Dispose method. Difference between Dispose & Finalize Method. Dispose. Finalize. It is used to free unmanaged resources like files, database connections etc. at any time.