Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
GeneralRe: Avoid Duplicate Entry in Text File Pin
Adeel Chaudhry4-Feb-08 18:09
Adeel Chaudhry4-Feb-08 18:09 
GeneralRe: Avoid Duplicate Entry in Text File Pin
Adeel Chaudhry4-Feb-08 18:06
Adeel Chaudhry4-Feb-08 18:06 
GeneralRe: Avoid Duplicate Entry in Text File Pin
D i x y4-Feb-08 19:43
D i x y4-Feb-08 19:43 
AnswerRe: Avoid Duplicate Entry in Text File Pin
Vikram A Punathambekar4-Feb-08 19:58
Vikram A Punathambekar4-Feb-08 19:58 
GeneralRe: Avoid Duplicate Entry in Text File Pin
Christian Graus4-Feb-08 19:59
protectorChristian Graus4-Feb-08 19:59 
Generalobject references Pin
amit_834-Feb-08 17:40
amit_834-Feb-08 17:40 
AnswerRe: object references Pin
Vikram A Punathambekar4-Feb-08 17:50
Vikram A Punathambekar4-Feb-08 17:50 
GeneralRe: object references Pin
CKnig4-Feb-08 20:07
CKnig4-Feb-08 20:07 
Well it's confusing at start but try to think of all "class"-objects as POINTERS or references (in C++).

You've got several possible solutions:
1.) Implement something like Clone (like proposed) - normaly you just add an copy-constructor so you can say MyClass Obj2 = new MyClass(Obj1) and use this in the Clone()-implementation - this way you can save one cast
2.) use struct instead of class - this will locate your objects in the local stack and copy the data instead of the reference when you say (obj2 = obj1)
3.) use the same data to construct the object 2 times with new
etc.
GeneralDynamic Control creation Pin
nilam24774-Feb-08 17:34
nilam24774-Feb-08 17:34 
GeneralRe: Dynamic Control creation Pin
Gopal.S5-Feb-08 1:18
Gopal.S5-Feb-08 1:18 
GeneralRe: Dynamic Control creation Pin
nilam24775-Feb-08 16:34
nilam24775-Feb-08 16:34 
QuestionHow to get value of one form to another??? [modified] Pin
Neo Andreson4-Feb-08 17:03
Neo Andreson4-Feb-08 17:03 
AnswerRe: How to get value of one from to another??? Pin
Christian Graus4-Feb-08 17:12
protectorChristian Graus4-Feb-08 17:12 
GeneralRe: How to get value of one from to another??? Pin
Neo Andreson4-Feb-08 18:31
Neo Andreson4-Feb-08 18:31 
GeneralRe: How to get value of one from to another??? Pin
Neo Andreson5-Feb-08 19:35
Neo Andreson5-Feb-08 19:35 
GeneralIcons.... Pin
Jacob Dixon4-Feb-08 15:36
Jacob Dixon4-Feb-08 15:36 
GeneralRe: Icons.... Pin
MarkB7774-Feb-08 16:50
MarkB7774-Feb-08 16:50 
GeneralGetting midnight out of a calendar control Pin
kozu4-Feb-08 15:04
kozu4-Feb-08 15:04 
GeneralRe: Getting midnight out of a calendar control Pin
Christian Graus4-Feb-08 17:12
protectorChristian Graus4-Feb-08 17:12 
GeneralRe: Getting midnight out of a calendar control Pin
Vikram A Punathambekar4-Feb-08 17:52
Vikram A Punathambekar4-Feb-08 17:52 
AnswerRe: Getting midnight out of a calendar control Pin
Vikram A Punathambekar4-Feb-08 17:44
Vikram A Punathambekar4-Feb-08 17:44 
GeneralRe: Getting midnight out of a calendar control Pin
J4amieC4-Feb-08 22:41
J4amieC4-Feb-08 22:41 
GeneralRe: Getting midnight out of a calendar control Pin
Vikram A Punathambekar5-Feb-08 0:30
Vikram A Punathambekar5-Feb-08 0:30 
GeneralI need help with a program Pin
Alex5014-Feb-08 11:54
Alex5014-Feb-08 11:54 
GeneralRe: I need help with a program Pin
Christian Graus4-Feb-08 12:31
protectorChristian Graus4-Feb-08 12:31 

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.