Click here to Skip to main content
15,922,407 members
Home / Discussions / C#
   

C#

 
GeneralRe: Thread safe issue in string operation Pin
George_George5-Jan-09 22:41
George_George5-Jan-09 22:41 
GeneralRe: Thread safe issue in string operation Pin
Abhijit Jana6-Jan-09 0:55
professionalAbhijit Jana6-Jan-09 0:55 
GeneralRe: Thread safe issue in string operation Pin
George_George10-Jan-09 2:43
George_George10-Jan-09 2:43 
AnswerRe: Thread safe issue in string operation Pin
J4amieC5-Jan-09 2:47
J4amieC5-Jan-09 2:47 
GeneralRe: Thread safe issue in string operation Pin
George_George5-Jan-09 3:28
George_George5-Jan-09 3:28 
GeneralRe: Thread safe issue in string operation Pin
J4amieC5-Jan-09 3:33
J4amieC5-Jan-09 3:33 
GeneralRe: Thread safe issue in string operation Pin
George_George5-Jan-09 3:40
George_George5-Jan-09 3:40 
GeneralRe: Thread safe issue in string operation Pin
J4amieC5-Jan-09 4:17
J4amieC5-Jan-09 4:17 
GeneralRe: Thread safe issue in string operation Pin
George_George5-Jan-09 22:43
George_George5-Jan-09 22:43 
GeneralRe: Thread safe issue in string operation Pin
Jon Rista6-Jan-09 11:53
Jon Rista6-Jan-09 11:53 
GeneralRe: Thread safe issue in string operation Pin
George_George10-Jan-09 2:44
George_George10-Jan-09 2:44 
QuestionRemove items from property grid Pin
Naveed7275-Jan-09 2:07
Naveed7275-Jan-09 2:07 
AnswerRe: Remove items from property grid Pin
Dragonfly_Lee5-Jan-09 4:01
Dragonfly_Lee5-Jan-09 4:01 
QuestionHow to detect .net Framework 3.5 is installed or available Pin
Seraph_summer5-Jan-09 1:32
Seraph_summer5-Jan-09 1:32 
AnswerRe: How to detect .net Framework 3.5 is installed or available Pin
Pete O'Hanlon5-Jan-09 1:37
mvePete O'Hanlon5-Jan-09 1:37 
GeneralRe: How to detect .net Framework 3.5 is installed or available Pin
Seraph_summer5-Jan-09 1:44
Seraph_summer5-Jan-09 1:44 
AnswerRe: How to detect .net Framework 3.5 is installed or available Pin
Member 44703545-Jan-09 2:16
Member 44703545-Jan-09 2:16 
GeneralRe: How to detect .net Framework 3.5 is installed or available Pin
Jon Rista6-Jan-09 14:53
Jon Rista6-Jan-09 14:53 
QuestionUnable to dynamically create HTML tables Pin
Brian_Ho_08235-Jan-09 1:29
Brian_Ho_08235-Jan-09 1:29 
AnswerRe: Unable to dynamically create HTML tables Pin
Ben Fair5-Jan-09 4:24
Ben Fair5-Jan-09 4:24 
Questionnull value? Pin
dec825-Jan-09 1:24
dec825-Jan-09 1:24 
public class Command
{
public int Number;
public int NoOfParameters;
}

Command[] Querries = new Command[50];

private void button_Click(object sender, EventArgs e)
{
initialization()
Device mydevice = new Device();
int Add = mydevice.FindAddress();
}
public int FindAddress()
{
SendCommand (Querries[0])
}

My initialization method already initialize all Querries[i].Number and Querries[i].NoOfParameters.
But when the code is run to SendCommand (Querries[0]), the values of Querries[i] is still null?
Why is it so, and how to solve it ?
Thanks
QuestionRe: null value? Pin
SeMartens5-Jan-09 1:33
SeMartens5-Jan-09 1:33 
AnswerRe: null value? Pin
Jason C Bourne5-Jan-09 1:34
Jason C Bourne5-Jan-09 1:34 
GeneralRe: null value? Pin
dec825-Jan-09 3:50
dec825-Jan-09 3:50 
GeneralRe: null value? Pin
dec825-Jan-09 4:17
dec825-Jan-09 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.