Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defensive Programming?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01279830
Message ID:
01279869
Views:
25
>>> How would sub-classing help in such a case?

Simple example: If you use "new StreamWriter()" all over the code as opposed to one place in your own subclass - if/when the functionality (of StreamWriter) gets changed or discontinued, you either have hundreds of places to modify or one place--in your class code.

So you don't subclass anything?

Do you believe base classes in .NET version 2.0 will work the same in .NET 5.0 or 7.0?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform