Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class named String
Message
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01587660
Message ID:
01587693
Views:
36
>Hi,
>I started working with .NET in 2005 and love C# and C# compiler. Although I am still learning basics.
>
>Yesterday while thinking of how to name a class I came up with the name String. And of course, putting this class in my namespace made it very legal (as far as C# compiler is concerned). But I am still wondering, should I be concerned when naming my class the same as probably one of the most used classes in C#?

Instead of creating a new class, just add 2 new extension methods for the String class.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform