Click here to Skip to main content
15,885,985 members
Home / Discussions / C#
   

C#

 
QuestionIOException 10054. Pin
leslie wu6-Sep-08 21:23
leslie wu6-Sep-08 21:23 
AnswerRe: IOException 10054. Pin
Mbah Dhaim7-Sep-08 1:25
Mbah Dhaim7-Sep-08 1:25 
GeneralRe: IOException 10054. Pin
leslie wu7-Sep-08 4:56
leslie wu7-Sep-08 4:56 
GeneralRe: IOException 10054. Pin
Mbah Dhaim7-Sep-08 5:36
Mbah Dhaim7-Sep-08 5:36 
GeneralRe: IOException 10054. Pin
leslie wu8-Sep-08 3:02
leslie wu8-Sep-08 3:02 
QuestionSharing a lesson... Pin
MarkB7776-Sep-08 20:47
MarkB7776-Sep-08 20:47 
AnswerRe: Sharing a lesson... Pin
zafersavas6-Sep-08 21:51
zafersavas6-Sep-08 21:51 
AnswerRe: Sharing a lesson... Pin
Robert.C.Cartaino7-Sep-08 4:28
Robert.C.Cartaino7-Sep-08 4:28 
Someone might be mislead to believe that...
string[] a, b, c;<br />
a = b = c = new string[size];


would behave the same as...
int a, b, c;<br />
a = b = c = 10;


...which (as you discovered) it doesn't.

MarkBrock wrote:
but is all so easy to overlook with these fancy new languages


...easy to overlook because it is poor style and easily misleading. To clearly show your intentions, it would have been better coded as either:
string[] a = new string[size];
string[] b = a;
string[] c = a;
or
string[] a = new string[size];
string[] b = new string[size];
string[] c = new string[size];

...depending on what your intentions are.
QuestionApplicationDeployment & HttpUtility Pin
AtulRane6-Sep-08 20:42
AtulRane6-Sep-08 20:42 
AnswerRe: ApplicationDeployment & HttpUtility Pin
Wendelius7-Sep-08 3:50
mentorWendelius7-Sep-08 3:50 
QuestionCreating custom controls Pin
Dewald6-Sep-08 20:24
Dewald6-Sep-08 20:24 
AnswerRe: Creating custom controls Pin
DaveyM696-Sep-08 23:46
professionalDaveyM696-Sep-08 23:46 
Questionerror: Exception has been thrown by the target of an invocation Pin
mehrnoosh6-Sep-08 19:15
mehrnoosh6-Sep-08 19:15 
AnswerRe: error: Exception has been thrown by the target of an invocation Pin
mehrnoosh8-Sep-08 20:22
mehrnoosh8-Sep-08 20:22 
QuestionHow can I get full path for a directory or file which I clicked on desktop or sth else in startup my application?? Pin
ersingenel6-Sep-08 14:56
ersingenel6-Sep-08 14:56 
AnswerRe: How can I get full path for a directory or file which I clicked on desktop or sth else in startup my application?? Pin
Ashfield7-Sep-08 8:46
Ashfield7-Sep-08 8:46 
Questiondynamic loaded ascx delegate event not firing in the parent form Pin
cmello6-Sep-08 14:11
cmello6-Sep-08 14:11 
QuestionRandom method Pin
MorganSim6-Sep-08 13:10
MorganSim6-Sep-08 13:10 
AnswerRe: Random method Pin
Blue_Boy6-Sep-08 13:44
Blue_Boy6-Sep-08 13:44 
QuestionRe: Random method Pin
MorganSim6-Sep-08 23:04
MorganSim6-Sep-08 23:04 
RantRe: Random method Pin
Guffa6-Sep-08 23:21
Guffa6-Sep-08 23:21 
AnswerRe: Random method Pin
Guffa6-Sep-08 22:56
Guffa6-Sep-08 22:56 
QuestionRe: Random method Pin
MorganSim6-Sep-08 23:19
MorganSim6-Sep-08 23:19 
AnswerRe: Random method Pin
Guffa6-Sep-08 23:38
Guffa6-Sep-08 23:38 
QuestionRe: Random method Pin
MorganSim7-Sep-08 0:08
MorganSim7-Sep-08 0:08 

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.