Click here to Skip to main content
15,907,120 members
Home / Discussions / C#
   

C#

 
Questioncsc not recognised Pin
techie_kuldeep12-May-08 10:22
techie_kuldeep12-May-08 10:22 
AnswerRe: csc not recognised Pin
Ennis Ray Lynch, Jr.12-May-08 10:42
Ennis Ray Lynch, Jr.12-May-08 10:42 
AnswerRe: csc not recognised Pin
Abhijit Jana12-May-08 19:02
professionalAbhijit Jana12-May-08 19:02 
QuestionTest is a form is closed Pin
baranils12-May-08 10:14
baranils12-May-08 10:14 
AnswerRe: Test is a form is closed [modified] Pin
Anthony Mushrow12-May-08 10:36
professionalAnthony Mushrow12-May-08 10:36 
GeneralRe: Test is a form is closed Pin
baranils12-May-08 18:58
baranils12-May-08 18:58 
AnswerRe: Test is a form is closed Pin
Christian Graus12-May-08 12:08
protectorChristian Graus12-May-08 12:08 
Questionint[] reference issue Pin
shamidi12-May-08 9:43
shamidi12-May-08 9:43 
I'm trying to build a high performance windows application that does basic calculations on many different data sets. Can anyone explain to me why this always returns false???

int[] x = new int[10] { 10015, 10, 9, 8, 7, 6, 5, 4, 2, 2 };
int[] y = new int[10] { 10015, 10, 9, 8, 7, 6, 5, 4, 3, 2 };

if (x.Equals(y)) return true;
else return false;

I'm pretty sure that .Equals is comparing the ADDRESS of the two arrays, as opposed to the values. Can someone help me out on what the fastest way of comparing these arrays?? no looping is HIGHLY preferred.
AnswerRe: int[] reference issue Pin
Ed.Poore12-May-08 10:13
Ed.Poore12-May-08 10:13 
GeneralRe: int[] reference issue Pin
shamidi12-May-08 10:33
shamidi12-May-08 10:33 
GeneralRe: int[] reference issue Pin
Ed.Poore12-May-08 12:28
Ed.Poore12-May-08 12:28 
AnswerRe: int[] reference issue Pin
#realJSOP12-May-08 10:16
professional#realJSOP12-May-08 10:16 
GeneralRe: int[] reference issue Pin
shamidi12-May-08 10:35
shamidi12-May-08 10:35 
GeneralRe: int[] reference issue Pin
Anthony Mushrow12-May-08 10:41
professionalAnthony Mushrow12-May-08 10:41 
GeneralRe: int[] reference issue Pin
#realJSOP12-May-08 10:50
professional#realJSOP12-May-08 10:50 
AnswerRe: int[] reference issue Pin
Guffa12-May-08 21:28
Guffa12-May-08 21:28 
GeneralRe: int[] reference issue Pin
#realJSOP13-May-08 1:20
professional#realJSOP13-May-08 1:20 
JokeRe: int[] reference issue Pin
Guffa13-May-08 2:05
Guffa13-May-08 2:05 
AnswerRe: int[] reference issue Pin
Le centriste14-May-08 6:24
Le centriste14-May-08 6:24 
QuestionHow to retrive the value? Pin
Luckie12-May-08 9:04
Luckie12-May-08 9:04 
AnswerRe: How to retrive the value? Pin
Ennis Ray Lynch, Jr.12-May-08 9:09
Ennis Ray Lynch, Jr.12-May-08 9:09 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 9:18
Luckie12-May-08 9:18 
AnswerRe: How to retrive the value? Pin
led mike12-May-08 9:18
led mike12-May-08 9:18 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 9:26
Luckie12-May-08 9:26 
GeneralRe: How to retrive the value? Pin
KaptinKrunch12-May-08 10:31
KaptinKrunch12-May-08 10:31 

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.