Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building an int[] from individual setting values
Message
From
29/07/2008 18:26:18
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Building an int[] from individual setting values
Miscellaneous
Thread ID:
01335105
Message ID:
01335105
Views:
55
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
Next
Reply
Map
View

Click here to load this message in the networking platform