Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Struct versus static
Message
De
12/02/2004 23:47:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Struct versus static
Divers
Thread ID:
00876971
Message ID:
00876971
Vues:
46
For a long time now, anytime I've needed 'public' properties (simple example, the first and last name of the user who has logged onto an app), I've had a class with static string variables. So when different forms/classes need to 'read' that value, it's always worked fine for me.

Someone recently pointed out that the use of structs was more efficient and would provide more capabilities.

Is it worth while to use structs instead?

Thanks,
Kevin
Répondre
Fil
Voir

Click here to load this message in the networking platform