Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IDisposable Mysteries
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01506168
Message ID:
01506195
Vues:
43
>>There is Using statement in VB.NET
>>
>>http://www.pluralsight-training.net/community/blogs/fritz/archive/2005/04/28/7834.aspx
>
>Harold Square wrote re: Using statement in VB.NET 2.0
>on 02-10-2007 5:59 PM
>Thank God you can still go to C++ if you want a modern .net language with destructors, instead of this nonsense of having the human do the error-prone task of being careful to dispose of each item at the correct time.
>
>I'm still baffled that they took such a step backwards with C# -- what were they thinking, that assembler is their goal? :)

>Indeed no? What were they thinking.
>
>Thanks Rob, Naomi.
>
>Are you saying then that I don't need to call the dispose method explicitly if I use the "using" syntax?

I believe the answer is Yes.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform