Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class named String
Message
De
10/11/2013 11:37:07
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01587660
Message ID:
01587663
Vues:
31
>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#?

Worried ? Too strong if compiler is happy. Good idea? Consider that other languages might run in the ILM and have no respect for Capitalization or then different rules for that beast - small danger as namespace rules might need changes then. Also prbably muddying the waters for other eyes. How about StringFellow ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform