Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: Find files in windows libraries Pin
Richard Deeming12-Sep-18 7:19
mveRichard Deeming12-Sep-18 7:19 
QuestionNot understanding use of return statement in c#. Pin
Hassan Y. Ansari11-Sep-18 6:08
Hassan Y. Ansari11-Sep-18 6:08 
AnswerRe: Not understanding use of return statement in c#. Pin
Ron Nicholson11-Sep-18 6:50
professionalRon Nicholson11-Sep-18 6:50 
GeneralRe: Not understanding use of return statement in c#. Pin
Hassan Y. Ansari11-Sep-18 18:49
Hassan Y. Ansari11-Sep-18 18:49 
GeneralRe: Not understanding use of return statement in c#. Pin
Pete O'Hanlon11-Sep-18 20:57
mvePete O'Hanlon11-Sep-18 20:57 
GeneralRe: Not understanding use of return statement in c#. Pin
Hassan Y. Ansari14-Sep-18 4:56
Hassan Y. Ansari14-Sep-18 4:56 
GeneralRe: Not understanding use of return statement in c#. Pin
Pete O'Hanlon15-Sep-18 6:24
mvePete O'Hanlon15-Sep-18 6:24 
AnswerRe: Not understanding use of return statement in c#. Pin
Pete O'Hanlon11-Sep-18 6:54
mvePete O'Hanlon11-Sep-18 6:54 
You aren't actually using the return statement in your code. What is happening here is that the ref statement is the thing that is actually setting the value of the variable. If you want some fun, try to predict what the value of this statement is (changing your code slightly):
C#
int i = 0;
i = abc(ref i);


Edited with the correct statement on line 2.
This space for rent


modified 11-Sep-18 14:47pm.

GeneralRe: Not understanding use of return statement in c#. Pin
OriginalGriff11-Sep-18 8:15
mveOriginalGriff11-Sep-18 8:15 
GeneralRe: Not understanding use of return statement in c#. Pin
Pete O'Hanlon11-Sep-18 8:46
mvePete O'Hanlon11-Sep-18 8:46 
Questiondesign website Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration' ? Pin
Member 24584679-Sep-18 16:20
Member 24584679-Sep-18 16:20 
AnswerRe: design website Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration' ? Pin
Matias Lopez12-Sep-18 10:31
Matias Lopez12-Sep-18 10:31 
QuestionEncrypt string to 10 random characters Pin
Mohammad Azeem9-Sep-18 10:13
Mohammad Azeem9-Sep-18 10:13 
AnswerRe: Encrypt string to 10 random characters Pin
Dave Kreskowiak9-Sep-18 10:59
mveDave Kreskowiak9-Sep-18 10:59 
AnswerRe: Encrypt string to 10 random characters Pin
Eddy Vluggen9-Sep-18 11:34
professionalEddy Vluggen9-Sep-18 11:34 
AnswerRe: Encrypt string to 10 random characters Pin
OriginalGriff9-Sep-18 19:38
mveOriginalGriff9-Sep-18 19:38 
GeneralRe: Encrypt string to 10 random characters Pin
Mohammad Azeem9-Sep-18 20:10
Mohammad Azeem9-Sep-18 20:10 
GeneralRe: Encrypt string to 10 random characters Pin
OriginalGriff9-Sep-18 20:27
mveOriginalGriff9-Sep-18 20:27 
GeneralRe: Encrypt string to 10 random characters Pin
Mohammad Azeem9-Sep-18 20:34
Mohammad Azeem9-Sep-18 20:34 
GeneralRe: Encrypt string to 10 random characters Pin
OriginalGriff9-Sep-18 21:14
mveOriginalGriff9-Sep-18 21:14 
QuestionDrag and drop user-control from stack-panel to Windows Explore(or Desktop) for saving it to PNG in C# wpf Pin
Member 133785039-Sep-18 0:09
Member 133785039-Sep-18 0:09 
AnswerRe: Drag and drop user-control from stack-panel to Windows Explore(or Desktop) for saving it to PNG in C# wpf Pin
Eddy Vluggen9-Sep-18 0:22
professionalEddy Vluggen9-Sep-18 0:22 
GeneralRe: Drag and drop user-control from stack-panel to Windows Explore(or Desktop) for saving it to PNG in C# wpf Pin
Member 133785039-Sep-18 1:13
Member 133785039-Sep-18 1:13 
GeneralRe: Drag and drop user-control from stack-panel to Windows Explore(or Desktop) for saving it to PNG in C# wpf Pin
Eddy Vluggen9-Sep-18 2:10
professionalEddy Vluggen9-Sep-18 2:10 
GeneralRe: Drag and drop user-control from stack-panel to Windows Explore(or Desktop) for saving it to PNG in C# wpf Pin
Member 133785039-Sep-18 8:09
Member 133785039-Sep-18 8:09 

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.