Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STATIC (shared) versus non static
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
STATIC (shared) versus non static
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01603606
Message ID:
01603606
Vues:
74
I wonder what the best practice would be when it comes to declare classes (and more importantly methods) static. I have found that in most cases pundits declare non static classes and methods where it would be perfectly workable to have them static.

The way I see it is that static is easier to test no?

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform