Versions des environnements
Network:
Windows 2008 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement