Click here to Skip to main content
15,896,481 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Service Pin
CodingLover4-Feb-08 21:06
CodingLover4-Feb-08 21:06 
GeneralRe: Windows Service Pin
Vikram A Punathambekar4-Feb-08 21:51
Vikram A Punathambekar4-Feb-08 21:51 
GeneralRe: Windows Service Pin
CKnig4-Feb-08 22:10
CKnig4-Feb-08 22:10 
GeneralRe: Windows Service Pin
CodingLover5-Feb-08 0:03
CodingLover5-Feb-08 0:03 
Questionhow to make my own controls in c# Pin
E_Gold4-Feb-08 18:30
E_Gold4-Feb-08 18:30 
AnswerRe: how to make my own controls in c# Pin
sindhutiwari4-Feb-08 18:41
sindhutiwari4-Feb-08 18:41 
AnswerRe: how to make my own controls in c# Pin
Ajay.k_Singh4-Feb-08 19:00
Ajay.k_Singh4-Feb-08 19:00 
QuestionTCP/IP Keep Alive Time [modified] Pin
sindhutiwari4-Feb-08 18:23
sindhutiwari4-Feb-08 18:23 
QuestionAvoid Duplicate Entry in Text File Pin
D i x y4-Feb-08 17:55
D i x y4-Feb-08 17:55 
GeneralRe: Avoid Duplicate Entry in Text File Pin
Christian Graus4-Feb-08 18:01
protectorChristian Graus4-Feb-08 18:01 
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 
First, calling an object class1 or class2 is a bad idea.

Second, when you say obj1 = obj2; with reference types, you are not assigning one object to another, you are only assigning a reference to another.

amit_83 wrote:
if i do make
chages in class2 then it also affact to class2 object.


Yes.

amit_83 wrote:
but i dont want this.means if i make any changes in class2 then it should not affact to class1 object.


1. Don't assign the references.
2. If you absolutely must do something of the sort, consider implementing your Clone() method which creates a new object.

Cheers,
Vikram.

"I will put my new found knolage to good use" - Captain See Sharp.

"Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed." - Gary Wheeler.

GeneralRe: object references Pin
CKnig4-Feb-08 20:07
CKnig4-Feb-08 20:07 
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 

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.