Click here to Skip to main content
15,892,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 15:49
Ista16-Aug-03 15:49 
GeneralRe: use pointers in c# Pin
Nish Nishant16-Aug-03 16:55
sitebuilderNish Nishant16-Aug-03 16:55 
GeneralRe: use pointers in c# Pin
J. Dunlap16-Aug-03 16:58
J. Dunlap16-Aug-03 16:58 
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 16:59
Ista16-Aug-03 16:59 
GeneralRe: use pointers in c# Pin
Nish Nishant16-Aug-03 16:53
sitebuilderNish Nishant16-Aug-03 16:53 
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 16:55
Ista16-Aug-03 16:55 
GeneralRe: use pointers in c# Pin
Nish Nishant16-Aug-03 17:01
sitebuilderNish Nishant16-Aug-03 17:01 
GeneralRe: use pointers in c# Pin
Burt Harris16-Aug-03 17:28
Burt Harris16-Aug-03 17:28 
Hello Ista,

In C#, there are two kinds of types, value types and reference types. A very limited set of information fits into the value type category, for example int, and double. Most types, including string and all objects are reference types.

Variables declared as reference types don't actually hold the underlying data, but instead have a reference to it, this is very much like pointer, but you don't have to use *. Several variables can hold references to the same object, copying from one variable (or collection) to another doesn't duplicate the underlying data, it just copies a pointer.

In short, I don't think you need pointers, the standard collections should work the way you want.

Burt Harris
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 18:38
Ista16-Aug-03 18:38 
GeneralRe: use pointers in c# Pin
J. Dunlap16-Aug-03 19:08
J. Dunlap16-Aug-03 19:08 
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 19:09
Ista16-Aug-03 19:09 
GeneralRe: use pointers in c# Pin
J. Dunlap16-Aug-03 19:12
J. Dunlap16-Aug-03 19:12 
GeneralRe: use pointers in c# Pin
Ista16-Aug-03 19:14
Ista16-Aug-03 19:14 
GeneralJFrame in C# Pin
User 53137816-Aug-03 3:36
User 53137816-Aug-03 3:36 
GeneralRe: JFrame in C# Pin
Ista16-Aug-03 4:16
Ista16-Aug-03 4:16 
Generalthe Form like Taskbar Pin
horsewww16-Aug-03 2:44
horsewww16-Aug-03 2:44 
GeneralRe: the Form like Taskbar Pin
apferreira16-Aug-03 3:06
apferreira16-Aug-03 3:06 
QuestionHow to convert from .DOC to .PDF, please help me .......... Pin
Atif Bashir16-Aug-03 2:22
Atif Bashir16-Aug-03 2:22 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
Ista16-Aug-03 3:20
Ista16-Aug-03 3:20 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
leppie16-Aug-03 4:31
leppie16-Aug-03 4:31 
AnswerRe: How to convert from .DOC to .PDF, please help me .......... Pin
William O'Malley18-Aug-03 1:33
sussWilliam O'Malley18-Aug-03 1:33 
QuestionHow do I use WSAStartup() in C# ?? Pin
IrishSonic15-Aug-03 23:01
IrishSonic15-Aug-03 23:01 
AnswerRe: How do I use WSAStartup() in C# ?? Pin
Rein Hillmann15-Aug-03 23:11
Rein Hillmann15-Aug-03 23:11 
AnswerRe: How do I use WSAStartup() in C# ?? Pin
Burt Harris16-Aug-03 15:49
Burt Harris16-Aug-03 15:49 
GeneralRe: How do I use WSAStartup() in C# ?? Pin
IrishSonic16-Aug-03 22:22
IrishSonic16-Aug-03 22:22 

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.