Click here to Skip to main content
15,884,628 members
Home / Discussions / C#
   

C#

 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Anonymous26-Apr-04 8:58
Anonymous26-Apr-04 8:58 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Heath Stewart26-Apr-04 9:24
protectorHeath Stewart26-Apr-04 9:24 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Anonymous26-Apr-04 10:04
Anonymous26-Apr-04 10:04 
GeneralRe: clicking an anchor (link) with AxWebBrowser? Pin
Heath Stewart26-Apr-04 10:08
protectorHeath Stewart26-Apr-04 10:08 
GeneralCreating a database manager Pin
showboat202323-Apr-04 12:00
showboat202323-Apr-04 12:00 
GeneralRe: Creating a database manager Pin
Heath Stewart23-Apr-04 15:56
protectorHeath Stewart23-Apr-04 15:56 
GeneralPassing a Class instance to a method... Pin
hammackj23-Apr-04 10:38
hammackj23-Apr-04 10:38 
GeneralRe: Passing a Class instance to a method... Pin
Heath Stewart23-Apr-04 10:41
protectorHeath Stewart23-Apr-04 10:41 
There's reference types and value types in .NET. Structs, enums, numeric types, booleans and chars are all value types. Everything else is a reference type. Like their names, reference types are always passed by ref while value types are passed by value, though you can - as you've found - use the ref and out (no initialization required) keywords to pass them by ref.

When you get into P/Invocation, keep this in mind. A pointer to an interface or class should not use the ref or out keywords, while a pointer to a struct or a numeric parameter should.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Passing a Class instance to a method... Pin
hammackj23-Apr-04 10:51
hammackj23-Apr-04 10:51 
GeneralRe: Passing a Class instance to a method... Pin
Werdna23-Apr-04 16:32
Werdna23-Apr-04 16:32 
GeneralRe: Passing a Class instance to a method... Pin
Heath Stewart24-Apr-04 8:14
protectorHeath Stewart24-Apr-04 8:14 
GeneralDrawString strange problem Pin
_Comet_Keeper_23-Apr-04 10:20
_Comet_Keeper_23-Apr-04 10:20 
GeneralRe: DrawString strange problem Pin
Heath Stewart23-Apr-04 10:45
protectorHeath Stewart23-Apr-04 10:45 
QuestionHow can I do Word Wrap in ListBox Items Pin
BinalShah23-Apr-04 10:12
BinalShah23-Apr-04 10:12 
AnswerRe: How can I do Word Wrap in ListBox Items Pin
Heath Stewart23-Apr-04 10:38
protectorHeath Stewart23-Apr-04 10:38 
QuestionHow to cut video to images by C# Pin
MDM_RVS23-Apr-04 8:25
MDM_RVS23-Apr-04 8:25 
AnswerRe: How to cut video to images by C# Pin
Heath Stewart23-Apr-04 10:34
protectorHeath Stewart23-Apr-04 10:34 
QuestionHow to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 8:07
Anonymous23-Apr-04 8:07 
AnswerRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart23-Apr-04 10:31
protectorHeath Stewart23-Apr-04 10:31 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 23:50
Anonymous23-Apr-04 23:50 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart24-Apr-04 8:12
protectorHeath Stewart24-Apr-04 8:12 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous25-Apr-04 2:07
Anonymous25-Apr-04 2:07 
GeneralRegenerate Print Preview Pin
hxxbin23-Apr-04 8:03
hxxbin23-Apr-04 8:03 
GeneralRe: Regenerate Print Preview Pin
Heath Stewart23-Apr-04 10:29
protectorHeath Stewart23-Apr-04 10:29 
GeneralRe: Regenerate Print Preview Pin
hxxbin26-Apr-04 4:14
hxxbin26-Apr-04 4:14 

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.