Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Types
Message
From
03/08/2007 12:17:53
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Class design
Title:
Custom Types
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01245845
Message ID:
01245845
Views:
69
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/
Next
Reply
Map
View

Click here to load this message in the networking platform