Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:05
professionalAnthony Mushrow20-Dec-07 14:05 
QuestionRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:08
T4AMD20-Dec-07 14:08 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:13
professionalAnthony Mushrow20-Dec-07 14:13 
QuestionRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:17
T4AMD20-Dec-07 14:17 
GeneralRe: TreeView Question--Please help Pin
Anthony Mushrow20-Dec-07 14:37
professionalAnthony Mushrow20-Dec-07 14:37 
GeneralRe: TreeView Question--Please help Pin
T4AMD20-Dec-07 14:42
T4AMD20-Dec-07 14:42 
GeneralBeginner programming question Pin
cmh62320-Dec-07 13:34
cmh62320-Dec-07 13:34 
GeneralRe: Beginner programming question Pin
Jordanwb20-Dec-07 13:46
Jordanwb20-Dec-07 13:46 
Function:

<br />
public void doub(ref int a, ref int b)<br />
{<br />
    a *= 2;<br />
    b *= 2;<br />
}<br />


and you would call it like this:

<br />
doub (ref var_name1, ref var_name2);<br />


In my opinion using a function to do that is overkill. Keep in mind that some variable types pass by reference and not value, an example would be String (capital S). If the data type is dark blue it's a primitive (pass by value), if it is light blue it is an object (passes by reference).

Example of primitive types: boolean, int, char
Example of Objects: Form, String
GeneralRe: Beginner programming question PinPopular
Christian Graus20-Dec-07 14:12
protectorChristian Graus20-Dec-07 14:12 
GeneralRe: Beginner programming question Pin
Jordanwb20-Dec-07 14:23
Jordanwb20-Dec-07 14:23 
GeneralRe: Beginner programming question Pin
Christian Graus20-Dec-07 15:16
protectorChristian Graus20-Dec-07 15:16 
GeneralRe: Beginner programming question Pin
Paul Conrad23-Dec-07 7:23
professionalPaul Conrad23-Dec-07 7:23 
GeneralRe: Beginner programming question Pin
DavidNohejl20-Dec-07 23:55
DavidNohejl20-Dec-07 23:55 
GeneralRe: Beginner programming question Pin
Paul Conrad23-Dec-07 7:24
professionalPaul Conrad23-Dec-07 7:24 
GeneralRe: Beginner programming question Pin
Jordanwb23-Dec-07 9:14
Jordanwb23-Dec-07 9:14 
GeneralRe: Beginner programming question Pin
Paul Conrad23-Dec-07 9:41
professionalPaul Conrad23-Dec-07 9:41 
GeneralShow me an elegant way to group objects Pin
Judah Gabriel Himango20-Dec-07 12:05
sponsorJudah Gabriel Himango20-Dec-07 12:05 
GeneralRe: Show me an elegant way to group objects Pin
Christian Graus20-Dec-07 12:08
protectorChristian Graus20-Dec-07 12:08 
GeneralRe: Show me an elegant way to group objects Pin
Judah Gabriel Himango20-Dec-07 12:09
sponsorJudah Gabriel Himango20-Dec-07 12:09 
AnswerRe: Show me an elegant way to group objects Pin
Guffa20-Dec-07 13:34
Guffa20-Dec-07 13:34 
GeneralRe: Show me an elegant way to group objects Pin
Judah Gabriel Himango20-Dec-07 15:18
sponsorJudah Gabriel Himango20-Dec-07 15:18 
GeneralRe: Show me an elegant way to group objects Pin
Guffa20-Dec-07 19:21
Guffa20-Dec-07 19:21 
GeneralRe: Show me an elegant way to group objects Pin
Mark Churchill20-Dec-07 15:22
Mark Churchill20-Dec-07 15:22 
GeneralRe: Show me an elegant way to group objects Pin
Judah Gabriel Himango20-Dec-07 16:30
sponsorJudah Gabriel Himango20-Dec-07 16:30 
GeneralRe: Show me an elegant way to group objects Pin
Mark Churchill20-Dec-07 19:38
Mark Churchill20-Dec-07 19:38 

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.