Click here to Skip to main content
14,920,488 members
Home / Discussions / C#
   

C#

 
QuestionIOException 10054. Pin
leslie wu6-Sep-08 21:23
Memberleslie wu6-Sep-08 21:23 
AnswerRe: IOException 10054. Pin
Mbah Dhaim7-Sep-08 1:25
MemberMbah Dhaim7-Sep-08 1:25 
GeneralRe: IOException 10054. Pin
leslie wu7-Sep-08 4:56
Memberleslie wu7-Sep-08 4:56 
GeneralRe: IOException 10054. Pin
Mbah Dhaim7-Sep-08 5:36
MemberMbah Dhaim7-Sep-08 5:36 
GeneralRe: IOException 10054. Pin
leslie wu8-Sep-08 3:02
Memberleslie wu8-Sep-08 3:02 
QuestionSharing a lesson... Pin
MarkB7776-Sep-08 20:47
MemberMarkB7776-Sep-08 20:47 
AnswerRe: Sharing a lesson... Pin
zafersavas6-Sep-08 21:51
Memberzafersavas6-Sep-08 21:51 
AnswerRe: Sharing a lesson... Pin
Robert.C.Cartaino7-Sep-08 4:28
MemberRobert.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
MemberAtulRane6-Sep-08 20:42 
AnswerRe: ApplicationDeployment & HttpUtility Pin
Wendelius7-Sep-08 3:50
mveWendelius7-Sep-08 3:50 
QuestionCreating custom controls Pin
Dewald6-Sep-08 20:24
MemberDewald6-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
Membermehrnoosh6-Sep-08 19:15 
AnswerRe: error: Exception has been thrown by the target of an invocation Pin
mehrnoosh8-Sep-08 20:22
Membermehrnoosh8-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
Memberersingenel6-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
MemberAshfield7-Sep-08 8:46 
Questiondynamic loaded ascx delegate event not firing in the parent form Pin
cmello6-Sep-08 14:11
Membercmello6-Sep-08 14:11 
QuestionRandom method Pin
MorganSim6-Sep-08 13:10
MemberMorganSim6-Sep-08 13:10 
AnswerRe: Random method Pin
Blue_Boy6-Sep-08 13:44
MemberBlue_Boy6-Sep-08 13:44 
QuestionRe: Random method Pin
MorganSim6-Sep-08 23:04
MemberMorganSim6-Sep-08 23:04 
RantRe: Random method Pin
Guffa6-Sep-08 23:21
MemberGuffa6-Sep-08 23:21 
AnswerRe: Random method Pin
Guffa6-Sep-08 22:56
MemberGuffa6-Sep-08 22:56 
QuestionRe: Random method Pin
MorganSim6-Sep-08 23:19
MemberMorganSim6-Sep-08 23:19 
AnswerRe: Random method Pin
Guffa6-Sep-08 23:38
MemberGuffa6-Sep-08 23:38 
QuestionRe: Random method Pin
MorganSim7-Sep-08 0:08
MemberMorganSim7-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.