Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Types
Message
De
03/08/2007 12:17:53
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Custom Types
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01245845
Message ID:
01245845
Vues:
70
There has been some discussion in the past about using custom controls, even if the derived control doesn't provide any additional functionality.

Could this idea also be applied to a variable (and is it recommended)? For example, if I find I am rounding decimals a certain way many times, would it be advantageous to create a custom decimal class with a .ToRoundedString method? Would I then want to use this derived type in place of all decimal types in my application?
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform