Click here to Skip to main content
15,891,204 members
Home / Discussions / C#
   

C#

 
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 
I did and I doubt Jonathan speaks for Microsoft. I agree with wekempf's last post. Copy constructor does specify whether it's a deep or shallow copy either. In addition, the ICloneable allows derived classes to more easily override the copy behavior. Finally, there is no way (aside from reflection) to tell if an object has a copy constructor. With the ICloneable interface, you can easy do "if (obj is ICloneable)".

-- Update: I see now that the MS guidelines recommend to not use it. But there are still applications for this interface.



Take care,
Tom

-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com

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 
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:25
N a v a n e e t h11-Oct-07 3:25 
QuestionUI Controls which generate screens at runtime Pin
NicoJS11-Oct-07 2:50
NicoJS11-Oct-07 2:50 
AnswerRe: UI Controls which generate screens at runtime Pin
visualhint11-Oct-07 9:07
visualhint11-Oct-07 9:07 
Questionc# ToolStripMenuItem Visible propert Pin
ATCsharp11-Oct-07 2:32
ATCsharp11-Oct-07 2:32 
AnswerRe: c# ToolStripMenuItem Visible propert Pin
VirtualVoid.NET12-Oct-07 2:10
VirtualVoid.NET12-Oct-07 2:10 
Question[Message Deleted] Pin
Rinki Mukheraji11-Oct-07 1:51
Rinki Mukheraji11-Oct-07 1:51 
AnswerRe: GridView Pin
Spunky Coder11-Oct-07 1:55
Spunky Coder11-Oct-07 1:55 
AnswerRe: GridView Pin
Anthony Mushrow11-Oct-07 2:04
professionalAnthony Mushrow11-Oct-07 2:04 
AnswerRe: GridView Pin
Rinki Mukheraji11-Oct-07 2:04
Rinki Mukheraji11-Oct-07 2:04 
GeneralRe: GridView Pin
Guffa11-Oct-07 4:07
Guffa11-Oct-07 4:07 
Question2 urgent questions Pin
sheepdonkey11-Oct-07 1:38
sheepdonkey11-Oct-07 1:38 
AnswerRe: 2 urgent questions Pin
ATCsharp11-Oct-07 2:36
ATCsharp11-Oct-07 2:36 
GeneralRe: 2 urgent questions Pin
sheepdonkey11-Oct-07 2:58
sheepdonkey11-Oct-07 2:58 
GeneralRe: 2 urgent questions Pin
ATCsharp11-Oct-07 4:41
ATCsharp11-Oct-07 4:41 
AnswerRe: 2 urgent questions Pin
Dave Kreskowiak11-Oct-07 4:05
mveDave Kreskowiak11-Oct-07 4:05 

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.