Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: Insert a graphics in an other graphics Pin
James T. Johnson20-Aug-02 7:59
James T. Johnson20-Aug-02 7:59 
GeneralRe: Insert a graphics in an other graphics Pin
troz20-Aug-02 21:32
troz20-Aug-02 21:32 
GeneralInterfaces and Static methods - How could they!!! Pin
Ryan Cromwell20-Aug-02 4:11
Ryan Cromwell20-Aug-02 4:11 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
leppie20-Aug-02 4:23
leppie20-Aug-02 4:23 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
Ryan Cromwell20-Aug-02 4:43
Ryan Cromwell20-Aug-02 4:43 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
Philip Fitzsimons20-Aug-02 4:48
Philip Fitzsimons20-Aug-02 4:48 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
leppie20-Aug-02 5:13
leppie20-Aug-02 5:13 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
Ryan Cromwell20-Aug-02 7:08
Ryan Cromwell20-Aug-02 7:08 
leppie wrote:
Else, cant static IChalk Deserialize( string Xml ) become non static, because adding a static member there does not make sense

actually that was my argument. I think it doesn't make sense to not have it static. If it isn't static you have just instanciated two IChalk objects by returning an IChalk object. Also, as I mentioned, if you use the Deserialize as a member that updates/sets the values of the object. You have an invalid IChalk object between the point of instanciation and the Deserialization call. Granted it will be most common that the Deserialization call be made directly following the instanciate or, at least before the object is used, but a solid class wouldn't leave that moment of possibility open. Also, its possible that the deserialization method implemented by some other because they need the IChalk interface wouldn't do a good job of guaranteeing that the class is valid after deserialization. Ie deserialize may very well leave IChalk.color = null when that isn't acceptable because it wasn't specified in the serialized xml. Get my point. I see and realize there are ways of doing things (ie, abstract classes+interfaces, presume good implementation (;/), etc, but I'm a pain in the arse.
GeneralRe: Interfaces and Static methods - How could they!!! Pin
leppie20-Aug-02 7:29
leppie20-Aug-02 7:29 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
James T. Johnson20-Aug-02 7:38
James T. Johnson20-Aug-02 7:38 
GeneralRe: Interfaces and Static methods - How could they!!! Pin
Ryan Cromwell20-Aug-02 7:52
Ryan Cromwell20-Aug-02 7:52 
GeneralIDE hangs up on executing ! Pin
EdgarBM20-Aug-02 0:16
EdgarBM20-Aug-02 0:16 
GeneralRe: IDE hangs up on executing ! Pin
Nnamdi Onyeyiri20-Aug-02 0:52
Nnamdi Onyeyiri20-Aug-02 0:52 
GeneralRe: IDE hangs up on executing ! Pin
James T. Johnson20-Aug-02 5:44
James T. Johnson20-Aug-02 5:44 
GeneralRe: IDE hangs up on executing ! Pin
Nnamdi Onyeyiri20-Aug-02 6:12
Nnamdi Onyeyiri20-Aug-02 6:12 
GeneralRe: IDE hangs up on executing ! Pin
Stephane Rodriguez.20-Aug-02 1:22
Stephane Rodriguez.20-Aug-02 1:22 
GeneralRe: IDE hangs up on executing ! Pin
EdgarBM20-Aug-02 1:26
EdgarBM20-Aug-02 1:26 
GeneralRe: IDE hangs up on executing ! Pin
Nnamdi Onyeyiri20-Aug-02 3:16
Nnamdi Onyeyiri20-Aug-02 3:16 
GeneralRe: IDE hangs up on executing ! Pin
leppie20-Aug-02 3:33
leppie20-Aug-02 3:33 
GeneralRe: IDE hangs up on executing ! Pin
Anonymous20-Aug-02 3:39
Anonymous20-Aug-02 3:39 
GeneralRe: IDE hangs up on executing ! Pin
Anonymous20-Aug-02 4:15
Anonymous20-Aug-02 4:15 
GeneralRe: IDE hangs up on executing ! Pin
James T. Johnson20-Aug-02 5:42
James T. Johnson20-Aug-02 5:42 
GeneralRe: IDE hangs up on executing ! Pin
EdgarBM20-Aug-02 23:04
EdgarBM20-Aug-02 23:04 
GeneralCombobox and SetItemData Pin
Michael P Butler19-Aug-02 23:51
Michael P Butler19-Aug-02 23:51 
GeneralRe: Combobox and SetItemData Pin
Nnamdi Onyeyiri20-Aug-02 0:02
Nnamdi Onyeyiri20-Aug-02 0:02 

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.