Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building an int[] from individual setting values
Message
De
29/07/2008 18:26:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Building an int[] from individual setting values
Divers
Thread ID:
01335105
Message ID:
01335105
Vues:
54
Ok, I am just having a mental block. I need an int[] made up of values from individual setting values like these:
public bool ActivateAntenna1 = true;
public bool ActivateAntenna2 = false;
public bool ActivateAntenna3 = true;
public bool ActivateAntenna4 = false;

I need an int[] that looks like this in this case:
this.reader.Attributes.SetANTS(new int[]  { 1, 3 } );
Maybe I am too tired to figure things out today.
Tim
Timothy Bryan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform