Click here to Skip to main content
15,905,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: Network or graph layout algorithms? Pin
Nick Parker27-Jan-04 7:09
protectorNick Parker27-Jan-04 7:09 
GeneralRe: Network or graph layout algorithms? Pin
Fernandes27-Jan-04 7:38
Fernandes27-Jan-04 7:38 
Generalref class member variable Pin
pankajdaga27-Jan-04 6:47
pankajdaga27-Jan-04 6:47 
GeneralRe: ref class member variable Pin
John Fisher27-Jan-04 6:51
John Fisher27-Jan-04 6:51 
GeneralRe: ref class member variable Pin
pankajdaga27-Jan-04 7:08
pankajdaga27-Jan-04 7:08 
GeneralRe: ref class member variable Pin
John Fisher27-Jan-04 7:28
John Fisher27-Jan-04 7:28 
GeneralRe: ref class member variable Pin
pankajdaga27-Jan-04 8:22
pankajdaga27-Jan-04 8:22 
GeneralRe: ref class member variable Pin
Heath Stewart27-Jan-04 8:45
protectorHeath Stewart27-Jan-04 8:45 
As Nick explained, though, value types (such as int, long, byte, enum, structs, etc.) are just that - value types. You pass a value to a method (not function - methods are "functions" that belong to an entity such as a class, interface, or struct). In almost all cases, this is just fine. When you pass a reference (everything else), a reference to the original object is stored in the stack (internal to the CLR). Using ref and out with value types is common, however, when P/Invoking native functions.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: ref class member variable Pin
Nick Parker27-Jan-04 6:54
protectorNick Parker27-Jan-04 6:54 
GeneralRe: ref class member variable Pin
pankajdaga27-Jan-04 7:11
pankajdaga27-Jan-04 7:11 
GeneralRe: ref class member variable Pin
Nick Parker27-Jan-04 7:28
protectorNick Parker27-Jan-04 7:28 
GeneralWebSvcs vs Remoting Pin
Kant27-Jan-04 6:24
Kant27-Jan-04 6:24 
GeneralRe: WebSvcs vs Remoting Pin
Heath Stewart27-Jan-04 6:36
protectorHeath Stewart27-Jan-04 6:36 
GeneralRe: WebSvcs vs Remoting Pin
Kant27-Jan-04 6:47
Kant27-Jan-04 6:47 
GeneralRe: WebSvcs vs Remoting Pin
Uwe Keim28-Jan-04 3:11
sitebuilderUwe Keim28-Jan-04 3:11 
GeneralCustom controls Pin
Radoslav Bielik27-Jan-04 6:01
Radoslav Bielik27-Jan-04 6:01 
GeneralRe: Custom controls Pin
John Fisher27-Jan-04 6:54
John Fisher27-Jan-04 6:54 
GeneralRe: Custom controls Pin
Radoslav Bielik27-Jan-04 6:57
Radoslav Bielik27-Jan-04 6:57 
GeneralRe: Custom controls Pin
John Fisher27-Jan-04 7:12
John Fisher27-Jan-04 7:12 
GeneralRe: Custom controls Pin
Radoslav Bielik27-Jan-04 7:26
Radoslav Bielik27-Jan-04 7:26 
GeneralRe: Custom controls Pin
John Fisher27-Jan-04 7:37
John Fisher27-Jan-04 7:37 
GeneralRe: Custom controls Pin
Radoslav Bielik27-Jan-04 7:45
Radoslav Bielik27-Jan-04 7:45 
GeneralRe: Custom controls Pin
John Fisher27-Jan-04 12:44
John Fisher27-Jan-04 12:44 
GeneralRe: Custom controls Pin
Nick Parker27-Jan-04 6:56
protectorNick Parker27-Jan-04 6:56 
GeneralRe: Custom controls Pin
Heath Stewart27-Jan-04 7:02
protectorHeath Stewart27-Jan-04 7:02 

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.