Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retreiving Application Icon Pin
Heath Stewart1-Jun-04 9:36
protectorHeath Stewart1-Jun-04 9:36 
GeneralCustom Control Design Time Problem Pin
Z.D.Biles1-Jun-04 8:40
Z.D.Biles1-Jun-04 8:40 
GeneralRe: Custom Control Design Time Problem Pin
Heath Stewart1-Jun-04 8:59
protectorHeath Stewart1-Jun-04 8:59 
GeneralRe: Custom Control Design Time Problem Pin
Z.D.Biles1-Jun-04 9:46
Z.D.Biles1-Jun-04 9:46 
Generalsystem language Pin
orcun colak1-Jun-04 7:45
orcun colak1-Jun-04 7:45 
GeneralRe: system language Pin
Heath Stewart1-Jun-04 8:55
protectorHeath Stewart1-Jun-04 8:55 
QuestionDataSet Pointer? Pin
Adam °Wimsatt1-Jun-04 7:27
Adam °Wimsatt1-Jun-04 7:27 
AnswerRe: DataSet Pointer? Pin
Heath Stewart1-Jun-04 8:51
protectorHeath Stewart1-Jun-04 8:51 
Use Clone to copy the structure of the DataSet, but not the data. Use Copy to copy both the struct and the data. This is documented in the .NET Framework SDK for the DataSet class.

In .NET, there are no pointers, but references for reference types. Assigning a new variable an instance of an object makes that variable reference the original object. Value types work differently, however. Value types are structs, primatives (which are reflected by structs), and enumerations. Passing a value type as a parameter is always pass by value, unless you use the out or ref keywords. This is important to understand with object-oriented frameworks like .NET and Java.

 

Microsoft MVP, Visual C#
My Articles
AnswerRe: DataSet Pointer? Pin
Anfernius1-Jun-04 8:51
Anfernius1-Jun-04 8:51 
AnswerRe: DataSet Pointer? Pin
LongRange.Shooter1-Jun-04 8:59
LongRange.Shooter1-Jun-04 8:59 
GeneralXML Serializing a Color Pin
Joel Holdsworth1-Jun-04 7:26
Joel Holdsworth1-Jun-04 7:26 
GeneralRe: XML Serializing a Color Pin
leppie1-Jun-04 8:32
leppie1-Jun-04 8:32 
GeneralRe: XML Serializing a Color Pin
Joel Holdsworth1-Jun-04 10:38
Joel Holdsworth1-Jun-04 10:38 
GeneralFloating Toolbar Pin
maxbale1-Jun-04 7:21
maxbale1-Jun-04 7:21 
Generalupgrading to 2003 - problems with reports Pin
econnor1-Jun-04 6:19
econnor1-Jun-04 6:19 
GeneralRe: upgrading to 2003 - problems with reports Pin
LongRange.Shooter1-Jun-04 6:39
LongRange.Shooter1-Jun-04 6:39 
GeneralRe: upgrading to 2003 - problems with reports Pin
econnor1-Jun-04 8:09
econnor1-Jun-04 8:09 
GeneralSetting Up Update Pin
MrJJKoolJ1-Jun-04 6:13
MrJJKoolJ1-Jun-04 6:13 
GeneralRe: Setting Up Update Pin
flow55551-Jun-04 6:24
flow55551-Jun-04 6:24 
GeneralRe: Setting Up Update Pin
MrJJKoolJ1-Jun-04 8:16
MrJJKoolJ1-Jun-04 8:16 
GeneralRe: Setting Up Update Pin
flow55551-Jun-04 11:22
flow55551-Jun-04 11:22 
QuestionHow to hide a form if the user close it? Pin
Ariadne1-Jun-04 6:07
Ariadne1-Jun-04 6:07 
AnswerRe: How to hide a form if the user close it? Pin
LongRange.Shooter1-Jun-04 6:37
LongRange.Shooter1-Jun-04 6:37 
AnswerRe: How to hide a form if the user close it? Pin
Heath Stewart1-Jun-04 6:45
protectorHeath Stewart1-Jun-04 6:45 
GeneralShorten the String Pin
Adam °Wimsatt1-Jun-04 5:22
Adam °Wimsatt1-Jun-04 5: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.