Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
AnswerRe: TCP connection to specific client Pin
Eddy Vluggen18-Jun-14 5:15
professionalEddy Vluggen18-Jun-14 5:15 
GeneralRe: TCP connection to specific client Pin
kruegs3518-Jun-14 5:57
kruegs3518-Jun-14 5:57 
AnswerRe: TCP connection to specific client Pin
ZurdoDev18-Jun-14 8:29
professionalZurdoDev18-Jun-14 8:29 
AnswerRe: TCP connection to specific client Pin
jschell18-Jun-14 11:15
jschell18-Jun-14 11:15 
QuestionCorrect Syntax; No Result? Pin
Zachery Hysong17-Jun-14 7:50
Zachery Hysong17-Jun-14 7:50 
AnswerRe: Correct Syntax; No Result? Pin
Eddy Vluggen17-Jun-14 8:05
professionalEddy Vluggen17-Jun-14 8:05 
GeneralRe: Correct Syntax; No Result? Pin
Zachery Hysong17-Jun-14 8:22
Zachery Hysong17-Jun-14 8:22 
GeneralRe: Correct Syntax; No Result? Pin
Eddy Vluggen17-Jun-14 8:50
professionalEddy Vluggen17-Jun-14 8:50 
Zachery Hysong wrote:
the concept of having to write `ref` twice seems counterintuitive to me.
The first time (in the method declaration) you use it to explain to the compiler that you're passing the string by reference, not as a value.

The second could be omitted if the language would allow it; it doesn't because it helps to determine what is being passed. If you read the call to the method, then without the additional "ref" keyword it'd be impossible to say whether it is passed as a value or a reference without looking up the method-signature.

It also prevents mistakes; you can never pass in a value by "mistake" Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: Correct Syntax; No Result? Pin
OriginalGriff17-Jun-14 8:21
mveOriginalGriff17-Jun-14 8:21 
GeneralRe: Correct Syntax; No Result? Pin
Zachery Hysong17-Jun-14 8:23
Zachery Hysong17-Jun-14 8:23 
GeneralRe: Correct Syntax; No Result? Pin
OriginalGriff17-Jun-14 8:29
mveOriginalGriff17-Jun-14 8:29 
AnswerRe: Correct Syntax; No Result? Pin
Richard Deeming17-Jun-14 8:26
mveRichard Deeming17-Jun-14 8:26 
QuestionHow do I get a list of all windows user groups Pin
sneezesnoeze16-Jun-14 22:48
sneezesnoeze16-Jun-14 22:48 
AnswerRe: How do I get a list of all windows user groups Pin
Eddy Vluggen17-Jun-14 3:03
professionalEddy Vluggen17-Jun-14 3:03 
GeneralRe: How do I get a list of all windows user groups Pin
sneezesnoeze17-Jun-14 8:02
sneezesnoeze17-Jun-14 8:02 
GeneralRe: How do I get a list of all windows user groups Pin
Eddy Vluggen17-Jun-14 8:08
professionalEddy Vluggen17-Jun-14 8:08 
GeneralRe: How do I get a list of all windows user groups Pin
sneezesnoeze17-Jun-14 10:59
sneezesnoeze17-Jun-14 10:59 
GeneralRe: How do I get a list of all windows user groups Pin
Eddy Vluggen17-Jun-14 11:09
professionalEddy Vluggen17-Jun-14 11:09 
GeneralRe: How do I get a list of all windows user groups Pin
Pete O'Hanlon17-Jun-14 11:47
mvePete O'Hanlon17-Jun-14 11:47 
AnswerRe: How do I get a list of all windows user groups Pin
Yonatan Arbel20-Jun-14 2:51
Yonatan Arbel20-Jun-14 2:51 
AnswerRe: How do I get a list of all windows user groups Pin
Nathan Minier20-Jun-14 3:08
professionalNathan Minier20-Jun-14 3:08 
QuestionC# Windows Forms App Pin
Zeyad Jalil16-Jun-14 19:33
professionalZeyad Jalil16-Jun-14 19:33 
AnswerRe: C# Windows Forms App Pin
Eddy Vluggen17-Jun-14 7:15
professionalEddy Vluggen17-Jun-14 7:15 
AnswerRe: C# Windows Forms App Pin
Swinkaran17-Jun-14 13:39
professionalSwinkaran17-Jun-14 13:39 
Question[Wp8.1] How to save the RenderTargetBitmap to png? Pin
Lãng Khách15-Jun-14 23:08
Lãng Khách15-Jun-14 23: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.