Click here to Skip to main content
15,918,303 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the exact difference between heap and stack? Pin
atoi_powered12-Jun-12 22:58
atoi_powered12-Jun-12 22:58 
GeneralRe: What is the exact difference between heap and stack? Pin
Pete O'Hanlon12-Jun-12 23:05
mvePete O'Hanlon12-Jun-12 23:05 
GeneralRe: What is the exact difference between heap and stack? Pin
atoi_powered12-Jun-12 23:07
atoi_powered12-Jun-12 23:07 
GeneralRe: What is the exact difference between heap and stack? Pin
OriginalGriff12-Jun-12 23:08
mveOriginalGriff12-Jun-12 23:08 
GeneralRe: What is the exact difference between heap and stack? Pin
atoi_powered12-Jun-12 23:10
atoi_powered12-Jun-12 23:10 
GeneralRe: What is the exact difference between heap and stack? Pin
OriginalGriff12-Jun-12 23:15
mveOriginalGriff12-Jun-12 23:15 
AnswerRe: What is the exact difference between heap and stack? Pin
Dave Kreskowiak12-Jun-12 15:54
mveDave Kreskowiak12-Jun-12 15:54 
AnswerRe: What is the exact difference between heap and stack? Pin
Roger Wright12-Jun-12 20:02
professionalRoger Wright12-Jun-12 20:02 
AnswerRe: What is the exact difference between heap and stack? Pin
Abhinav S12-Jun-12 20:08
Abhinav S12-Jun-12 20:08 
AnswerRe: What is the exact difference between heap and stack? Pin
Cracked-Down13-Jun-12 0:49
Cracked-Down13-Jun-12 0:49 
QuestionReport Parameter Pin
mjawadkhatri12-Jun-12 10:51
mjawadkhatri12-Jun-12 10:51 
Questionget row values on datagrid Pin
mrx10012-Jun-12 9:58
mrx10012-Jun-12 9:58 
AnswerSTOP PinPopular
Dave Kreskowiak12-Jun-12 10:35
mveDave Kreskowiak12-Jun-12 10:35 
GeneralRe: STOP Pin
mrx10012-Jun-12 11:17
mrx10012-Jun-12 11:17 
GeneralRe: STOP Pin
Dave Kreskowiak12-Jun-12 12:04
mveDave Kreskowiak12-Jun-12 12:04 
Questionusing VB6 ActiveX dll with C# 2010 Pin
Member 160800712-Jun-12 9:18
Member 160800712-Jun-12 9:18 
AnswerRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 10:39
mveDave Kreskowiak12-Jun-12 10:39 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Member 160800712-Jun-12 17:30
Member 160800712-Jun-12 17:30 
GeneralRe: using VB6 ActiveX dll with C# 2010 Pin
Dave Kreskowiak12-Jun-12 17:34
mveDave Kreskowiak12-Jun-12 17:34 
QuestionSetValue and BitConverter question Pin
bonosa12-Jun-12 8:48
bonosa12-Jun-12 8:48 
I have the following two variables

[code]
bytes_per_pixelS = 2;
byte[] stbd_data = new byte[stbd_width * num_lines * bytes_per_pixelS];
Array pingDataArray = new ushort[stbd_width * num_lines];

[/code]

To assign stbd_data to pingDataArray, which one is correct, knowing that stbd_data array is twice as long as the pingDataArray....
[code]
for (int i = 0; i < stbd_width * num_lines; ++i)
{
pingDataArray.SetValue( BitConverter.ToUInt16 (stbd_data ,2*i),i);
} }
[/code]
or
[code]

for (int i = 0; i < stbd_width * num_lines; ++i)
{
pingDataArray.SetValue( BitConverter.ToUInt16 (stbd_data ,i),i);
}

[/code]

thanks
QuestionReading XML from a web service Pin
JD8612-Jun-12 7:01
JD8612-Jun-12 7:01 
AnswerRe: Reading XML from a web service Pin
PIEBALDconsult12-Jun-12 7:45
mvePIEBALDconsult12-Jun-12 7:45 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:30
JD8612-Jun-12 8:30 
GeneralRe: Reading XML from a web service Pin
JD8612-Jun-12 8:35
JD8612-Jun-12 8:35 
AnswerRe: Reading XML from a web service Pin
jschell12-Jun-12 9:03
jschell12-Jun-12 9:03 

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.