Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
GeneralRe: Starting a GUI app with a windows service in C# Pin
ChrisAdams28-Jul-04 15:25
ChrisAdams28-Jul-04 15:25 
GeneralRe: Starting a GUI app with a windows service in C# Pin
Heath Stewart29-Jul-04 5:23
protectorHeath Stewart29-Jul-04 5:23 
GeneralRe: Starting a GUI app with a windows service in C# Pin
satorical29-Jul-04 6:13
satorical29-Jul-04 6:13 
GeneralRe: Starting a GUI app with a windows service in C# Pin
Heath Stewart29-Jul-04 6:23
protectorHeath Stewart29-Jul-04 6:23 
Questionhow to get cd information Pin
civc28-Jul-04 13:23
civc28-Jul-04 13:23 
QuestionHow to enumerate windows belong to an instance? Pin
Old Gun28-Jul-04 13:04
Old Gun28-Jul-04 13:04 
AnswerRe: How to enumerate windows belong to an instance? Pin
Dave Kreskowiak28-Jul-04 14:17
mveDave Kreskowiak28-Jul-04 14:17 
Generalusing ref in C# for reference types Pin
vista2728-Jul-04 12:48
vista2728-Jul-04 12:48 
please correct me if anything i state is incorrect about ref in C#. i'm trying to make sure i understand these 100%.

- using a ref parameter in C# for VALUE types (eg ref Int32 i) is basically the same thing as using "int* pInt" in C++.

- for reference types, C# defaults to passing references, so any function in C# (Without ref or out keyword) when passing references is basically also "classType* pObj" in C++.

- when using the REF keyword with a REFERENCE type in C#, this is essentially the same as pointers to pointers in C++. that is, in C# a function "void func (ref ClassType p)" would be written equivalently in C++ as "void func (ClassType** p), and when p is used in the C# function, such as p.memberFunction(), the equivalent in the C++ function would be (*p)->memberFunction(). in other words, in C# the levels of dereferencing are hidden from the programmer, wheras in C++ you must dereference the proper levels yourself.

is my understanding of how C# implements references correct? thanks.
GeneralRe: using ref in C# for reference types Pin
Heath Stewart28-Jul-04 13:00
protectorHeath Stewart28-Jul-04 13:00 
GeneralRe: using ref in C# for reference types Pin
vista2728-Jul-04 13:58
vista2728-Jul-04 13:58 
GeneralRe: using ref in C# for reference types Pin
Heath Stewart29-Jul-04 4:17
protectorHeath Stewart29-Jul-04 4:17 
GeneralRe: using ref in C# for reference types Pin
MKlucher28-Jul-04 18:12
MKlucher28-Jul-04 18:12 
GeneralRe: using ref in C# for reference types Pin
Heath Stewart29-Jul-04 4:28
protectorHeath Stewart29-Jul-04 4:28 
GeneralIDispDataVwDataConn => casting Server Explorer node to this interface Pin
mikker_12328-Jul-04 12:18
mikker_12328-Jul-04 12:18 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
Heath Stewart28-Jul-04 12:41
protectorHeath Stewart28-Jul-04 12:41 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
mikker_12329-Jul-04 5:14
mikker_12329-Jul-04 5:14 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
Heath Stewart29-Jul-04 6:03
protectorHeath Stewart29-Jul-04 6:03 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
mikker_12329-Jul-04 6:34
mikker_12329-Jul-04 6:34 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
Heath Stewart29-Jul-04 8:58
protectorHeath Stewart29-Jul-04 8:58 
GeneralRe: IDispDataVwDataConn => casting Server Explorer node to this interface Pin
mikker_12329-Jul-04 9:20
mikker_12329-Jul-04 9:20 
Generalread-only Pin
Anonymous28-Jul-04 12:17
Anonymous28-Jul-04 12:17 
GeneralRe: read-only Pin
mikker_12328-Jul-04 12:22
mikker_12328-Jul-04 12:22 
GeneralRe: read-only Pin
Anonymous28-Jul-04 12:40
Anonymous28-Jul-04 12:40 
GeneralRe: read-only Pin
Heath Stewart28-Jul-04 12:43
protectorHeath Stewart28-Jul-04 12:43 
GeneralRe: read-only Pin
Anonymous28-Jul-04 12:52
Anonymous28-Jul-04 12:52 

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.