Click here to Skip to main content
15,895,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Formula Pin
leppie27-Apr-04 7:05
leppie27-Apr-04 7:05 
GeneralParsing a string object Pin
Tony D. Abel26-Apr-04 17:55
Tony D. Abel26-Apr-04 17:55 
GeneralRe: Parsing a string object Pin
Jeff Varszegi26-Apr-04 18:05
professionalJeff Varszegi26-Apr-04 18:05 
GeneralRe: Parsing a string object Pin
Tony D. Abel27-Apr-04 7:02
Tony D. Abel27-Apr-04 7:02 
GeneralFormula Pin
DucLinh26-Apr-04 15:56
DucLinh26-Apr-04 15:56 
Generalcreating an array of existing WinForm controls Pin
Roman Nurik26-Apr-04 13:48
Roman Nurik26-Apr-04 13:48 
GeneralRe: creating an array of existing WinForm controls Pin
Roman Nurik26-Apr-04 13:51
Roman Nurik26-Apr-04 13:51 
GeneralRe: creating an array of existing WinForm controls Pin
Mike Dimmick26-Apr-04 23:43
Mike Dimmick26-Apr-04 23:43 
So, you're a former C++ developer then? Wink | ;-)

First up, there's no need to create pointers as controls are reference types: a declaration
Control ctl;
creates a reference to a control, not an actual control - it acts like a C++ pointer, in that you can change which actual object it points to, but you can't actually find out the address. Any class (created using the class keyword) in C# is a reference type.

The pointer syntax in C# is for when you want to do some direct bit manipulation of the object - when you want to perform unsafe casting or pointer arithmetic. C# forces you to say, using an unsafe block, when you want to do this - and you also have to pass the /unsafe switch to the compiler. Code compiled /unsafe can't be verified and must run with Full Trust - typically this means it must be copied to the local machine and run from there (this applies to the full Framework - the current version of the Compact Framework does not do security verification in this way).

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: creating an array of existing WinForm controls Pin
Mike Ellison26-Apr-04 17:03
Mike Ellison26-Apr-04 17:03 
GeneralRe: creating an array of existing WinForm controls Pin
Heath Stewart27-Apr-04 4:17
protectorHeath Stewart27-Apr-04 4:17 
GeneralLabel question... Pin
spoon vs fork26-Apr-04 13:47
spoon vs fork26-Apr-04 13:47 
GeneralRe: Label question... Pin
Roman Rodov26-Apr-04 14:55
Roman Rodov26-Apr-04 14:55 
GeneralRe: Label question... Pin
Jay Shankar26-Apr-04 15:43
Jay Shankar26-Apr-04 15:43 
GeneralListView and Inserting Subitems Pin
valikac26-Apr-04 12:17
valikac26-Apr-04 12:17 
GeneralRe: ListView and Inserting Subitems Pin
Jon G26-Apr-04 12:59
Jon G26-Apr-04 12:59 
GeneralRe: ListView and Inserting Subitems Pin
valikac26-Apr-04 14:40
valikac26-Apr-04 14:40 
GeneralRe: ListView and Inserting Subitems Pin
osto26-Apr-04 17:17
osto26-Apr-04 17:17 
GeneralRe: ListView and Inserting Subitems Pin
valikac26-Apr-04 18:10
valikac26-Apr-04 18:10 
GeneralUsing Bitmap and got exception in dispose Pin
kobyb26-Apr-04 11:28
kobyb26-Apr-04 11:28 
Generalconditional operator (?:) performance Pin
Anonymous26-Apr-04 10:53
Anonymous26-Apr-04 10:53 
GeneralRe: conditional operator (?:) performance Pin
Daniel Turini26-Apr-04 11:21
Daniel Turini26-Apr-04 11:21 
GeneralRe: conditional operator (?:) performance Pin
Mike Dimmick26-Apr-04 23:53
Mike Dimmick26-Apr-04 23:53 
GeneralRe: conditional operator (?:) performance Pin
Anonymous27-Apr-04 2:49
Anonymous27-Apr-04 2:49 
GeneralDataGrid row: RowState unchange problem Pin
Chris#26-Apr-04 10:47
Chris#26-Apr-04 10:47 
GeneralRe: DataGrid row: RowState unchange problem Pin
Heath Stewart26-Apr-04 11:50
protectorHeath Stewart26-Apr-04 11:50 

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.