answersLogoWhite

0

The using statement defines a scope at the end of which an object will be disposed. You create an instance in a using statement to ensure that Dispose is called on the object when the using statement is exited. A using statement can be exited either when the end of the using statement is reached or if, for example, an exception is thrown and control leaves the statement block before the end of the statement. The object you instantiate must implement the System.IDisposable interface. IDisposable is a very special interface. It is meant to be used with the "using" key word so it is very different than most any other interface as it has compile time support. It is meant for _exception safe_ deterministic cleanup of resources.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Did a roman soldiers leather sandals have iron nails on the soles?

Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.Yes, they were called hobnails. An interesting fact about them is that the pattern of the nails in the Roman military boot was identical to the pattern of support used in present day training shoes.


What pattern is on the ribbon worn to support autism awareness?

The pattern that can be found on the ribbon to support Autism Awareness is multicoloured jigsaw puzzle pieces in a ribbon shape on a white background.


What is the Standard Backboard Mounting Pattern?

Most backboard-to-support bolt patterns SEEM to be 35" w x 20"h


The Republican Party found most of its support in what region of the country?

In the 1860 US presidential elections, the Republican support covered states from New England to California. Perhaps Illinois, Lincoln's home state and New England states gave Republicans a great edge. In 1864, this pattern continued.In other elections this pattern varies.


To remove radiator support auto part from vehicle.?

I have two 1993 Chevy caprice and trying to remove the two front fenders from one of the cars to replace on the other car and also the radiator support that holds the head lamps to the other car. can you give me the bolt pattern on how to remove the two fenders and the radiator support.


What does the pattern of lignin deposition determine?

The pattern of lignin deposition determines the mechanical strength and water-conducting properties of plant tissues. It provides structural support to plant cells and helps in the transport of water and nutrients throughout the plant.


Did Rosalind Franklin support the idea that DNA was helical?

I believe so, because I think she took the picture that showed that DNA had a double helix pattern.


What is the bar used to separate glass panes in a cabinet?

The bar used to separate glass panes in a cabinet is called a muntin. It provides structural support and divides the glass panes to create a grid-like pattern.


What are some of the traditional international trade theories that support the concept of globalization?

No one theory alone can describe the pattern of international trade. Together, the theories of Free Trade, Life-Cycle, Mercantilism, Heckscher0Ohlin, New Trade and Porter's Theory support the concept of globalization.


support?

support


What adjectives describe the word support?

firm support, strong support, poor support, weak support, little support, excellent support, slight support are some possible examples.


What is the pattern for vascular bundle distribution in a monocot stem?

In monocot stems, vascular bundles are scattered throughout the ground tissue. They are not arranged in a distinct pattern like in dicot stems where they form a ring. The scattered distribution of vascular bundles provides support and strength to the stem.