Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# and XmlTextReader
Message
De
06/02/2004 11:42:09
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00864609
Message ID:
00874870
Vues:
15
Erik,

Either way works ... I think it's just a matter of personal preference.

~~Bonnie

>>if (tr.Name == "StyleBlockName")
>
>C# strings works as objects. You should use the String.CompareTo() method to compare a string variable/property to another string. Like this:
>
>if (tr.Name.CompareTo("StyleBlockName") == 0)
>
>
>HTH,
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform