Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
Questionc# Pin
shen1711-Oct-07 3:52
shen1711-Oct-07 3:52 
AnswerRe: c# Pin
Justin Perez11-Oct-07 4:00
Justin Perez11-Oct-07 4:00 
AnswerRe: c# Pin
Dave Kreskowiak11-Oct-07 4:01
mveDave Kreskowiak11-Oct-07 4:01 
GeneralRe: c# Pin
Colin Angus Mackay11-Oct-07 5:09
Colin Angus Mackay11-Oct-07 5:09 
GeneralRe: c# Pin
Dave Kreskowiak11-Oct-07 5:28
mveDave Kreskowiak11-Oct-07 5:28 
JokeRe: c# Pin
PIEBALDconsult11-Oct-07 5:22
mvePIEBALDconsult11-Oct-07 5:22 
GeneralRe: c# Pin
BoneSoft11-Oct-07 5:49
BoneSoft11-Oct-07 5:49 
GeneralRe: c# Pin
MasterSharp11-Oct-07 6:37
MasterSharp11-Oct-07 6:37 
GeneralRe: c# Pin
Pete O'Hanlon11-Oct-07 11:30
mvePete O'Hanlon11-Oct-07 11:30 
AnswerRe: c# Pin
GuyThiebaut11-Oct-07 8:14
professionalGuyThiebaut11-Oct-07 8:14 
AnswerWell Pin
Ennis Ray Lynch, Jr.11-Oct-07 8:55
Ennis Ray Lynch, Jr.11-Oct-07 8:55 
Questionhiding option Pin
netJP12L11-Oct-07 3:49
netJP12L11-Oct-07 3:49 
AnswerRe: hiding option Pin
TJoe11-Oct-07 3:51
TJoe11-Oct-07 3:51 
AnswerRe: hiding option Pin
Pete O'Hanlon11-Oct-07 11:48
mvePete O'Hanlon11-Oct-07 11:48 
Questioninterface implimentation in Excel Pin
A M SOMAN11-Oct-07 3:12
A M SOMAN11-Oct-07 3:12 
AnswerRe: interface implimentation in Excel Pin
Pete O'Hanlon11-Oct-07 11:26
mvePete O'Hanlon11-Oct-07 11:26 
QuestionWhat it mean when a class contructor accepts same class object ? Pin
N a v a n e e t h11-Oct-07 3:05
N a v a n e e t h11-Oct-07 3:05 
AnswerRe: What it mean when a class contructor accepts same class object ? Pin
TJoe11-Oct-07 3:12
TJoe11-Oct-07 3:12 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
N a v a n e e t h11-Oct-07 3:19
N a v a n e e t h11-Oct-07 3:19 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
TJoe11-Oct-07 3:22
TJoe11-Oct-07 3:22 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
Ennis Ray Lynch, Jr.11-Oct-07 3:20
Ennis Ray Lynch, Jr.11-Oct-07 3:20 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
DavidNohejl11-Oct-07 3:24
DavidNohejl11-Oct-07 3:24 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
TJoe11-Oct-07 3:30
TJoe11-Oct-07 3:30 
GeneralRe: What it mean when a class contructor accepts same class object ? Pin
DavidNohejl11-Oct-07 3:56
DavidNohejl11-Oct-07 3:56 
AnswerRe: What it mean when a class contructor accepts same class object ? Pin
DavidNohejl11-Oct-07 3:21
DavidNohejl11-Oct-07 3:21 
N a v a n e e t h wrote:
Why a class needs another instance of the same class to be passed as parameter.


You can use this pattern when you want to inicalize your instance using copy of data from another instance.

If you look at XmlSerializerNamespaces with Reflector, you see:
public XmlSerializerNamespaces(XmlSerializerNamespaces namespaces)
{
    this.namespaces = null;
    this.namespaces = (Hashtable) namespaces.Namespaces.Clone();
}




[My Blog]
"Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

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.