Click here to Skip to main content
16,006,355 members
Home / Discussions / C#
   

C#

 
QuestionHow to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 10:14
SandeepN30-Aug-06 10:14 
AnswerRe: How to wait for multiple STA threads to finish? Pin
Nader Elshehabi30-Aug-06 11:17
Nader Elshehabi30-Aug-06 11:17 
GeneralRe: How to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 11:41
SandeepN30-Aug-06 11:41 
GeneralRe: How to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 12:03
SandeepN30-Aug-06 12:03 
GeneralRe: How to wait for multiple STA threads to finish? Pin
Nader Elshehabi30-Aug-06 12:26
Nader Elshehabi30-Aug-06 12:26 
GeneralRe: How to wait for multiple STA threads to finish? Pin
SandeepN30-Aug-06 20:39
SandeepN30-Aug-06 20:39 
Questionhow to make a true copy of a reference-type object? Pin
michal.kreslik30-Aug-06 9:50
michal.kreslik30-Aug-06 9:50 
AnswerRe: how to make a true copy of a reference-type object? Pin
Nader Elshehabi30-Aug-06 10:12
Nader Elshehabi30-Aug-06 10:12 
Hello

This epends on what type of reference object you are talking about. Each class implements a "Cloning" method accordingly. Some well known way of copying reference types -if available- are:

1- All classes derived from System.Object inherit a protected method called MemberwiseClone(). Remember this is protected, so you could use it if you inherit from that class only.
2- Some reference types override the = operator to perform copying of data rather than references. Known example is the System.String class.
3- Other types include a copy constructor where you could construct an object from the values of another.

Again if all the above is not available in your reference type, then you'll just have to make your own way of copying public members.

RegardsRose | [Rose]

GeneralRe: how to make a true copy of a reference-type object? Pin
michal.kreslik30-Aug-06 10:54
michal.kreslik30-Aug-06 10:54 
QuestionGenerics classes and object creation Pin
AndyHug30-Aug-06 8:31
AndyHug30-Aug-06 8:31 
AnswerRe: Generics classes and object creation Pin
Bruno M.T. Sousa30-Aug-06 10:30
Bruno M.T. Sousa30-Aug-06 10:30 
QuestionSockets or Remoting? Pin
mithrandiir4230-Aug-06 8:04
mithrandiir4230-Aug-06 8:04 
AnswerRe: Sockets or Remoting? Pin
Jun Du30-Aug-06 8:14
Jun Du30-Aug-06 8:14 
AnswerRe: Sockets or Remoting? Pin
Ista30-Aug-06 11:08
Ista30-Aug-06 11:08 
QuestionInserting a Null value in BLOB field in Oracle Pin
kalyanPaladugu30-Aug-06 7:51
kalyanPaladugu30-Aug-06 7:51 
AnswerRe: Inserting a Null value in BLOB field in Oracle Pin
mikone30-Aug-06 8:10
mikone30-Aug-06 8:10 
QuestionAssembly.createInstance contructor not found [modified] Pin
Walter Dias30-Aug-06 7:33
professionalWalter Dias30-Aug-06 7:33 
AnswerRe: Assembly.createInstance contructor not found Pin
Martin#30-Aug-06 9:48
Martin#30-Aug-06 9:48 
GeneralRe: Assembly.createInstance contructor not found Pin
Walter Dias30-Aug-06 10:56
professionalWalter Dias30-Aug-06 10:56 
QuestionGDI+ Serialization error Pin
theonewithtom30-Aug-06 6:58
theonewithtom30-Aug-06 6:58 
QuestionHelp - Serialization Problem Pin
Aaron Schaefer30-Aug-06 6:46
Aaron Schaefer30-Aug-06 6:46 
QuestionGDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 5:23
Gavin Roberts30-Aug-06 5:23 
AnswerRe: GDI+ & Calculation Problems. Pin
mikone30-Aug-06 5:39
mikone30-Aug-06 5:39 
GeneralRe: GDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 5:54
Gavin Roberts30-Aug-06 5:54 
GeneralRe: GDI+ & Calculation Problems. Pin
Gavin Roberts30-Aug-06 6:37
Gavin Roberts30-Aug-06 6:37 

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.