Click here to Skip to main content
15,908,834 members
Home / Discussions / C#
   

C#

 
QuestionHow to perform cut,delete operation in bitmap? Pin
Aravinthan1-Apr-08 18:51
Aravinthan1-Apr-08 18:51 
GeneralConfused with the Equals() of Object class [modified] Pin
Darmi1-Apr-08 17:48
Darmi1-Apr-08 17:48 
GeneralRe: Confused with the Equals() of Object class Pin
N a v a n e e t h1-Apr-08 20:38
N a v a n e e t h1-Apr-08 20:38 
GeneralRe: Confused with the Equals() of Object class Pin
carbon_golem2-Apr-08 2:48
carbon_golem2-Apr-08 2:48 
GeneralSite Personalization - UserID from the asp_net Profile table Pin
karmasol1-Apr-08 17:46
karmasol1-Apr-08 17:46 
QuestionProblem with Singleton Pattern Pin
Zero Destiny1-Apr-08 17:39
professionalZero Destiny1-Apr-08 17:39 
GeneralRe: Problem with Singleton Pattern Pin
Simon P Stevens1-Apr-08 22:25
Simon P Stevens1-Apr-08 22:25 
GeneralRe: Problem with Singleton Pattern Pin
Rob Philpott1-Apr-08 22:49
Rob Philpott1-Apr-08 22:49 
I think Simon has probably nailed this, but why bother checking for null in the first place. Static constructors only get called once so you can infer it will always be null when you get there.

It's a good pattern for Singletons. Threadsafe to boot as well.

Regards,
Rob Philpott.

GeneralRe: Problem with Singleton Pattern Pin
Rob Philpott1-Apr-08 22:51
Rob Philpott1-Apr-08 22:51 
GeneralRe: Problem with Singleton Pattern Pin
carbon_golem2-Apr-08 3:03
carbon_golem2-Apr-08 3:03 
GeneralRe: Problem with Singleton Pattern Pin
Zero Destiny2-Apr-08 4:22
professionalZero Destiny2-Apr-08 4:22 
QuestionHow to pass a parameter in an event Pin
Silvyster1-Apr-08 16:08
Silvyster1-Apr-08 16:08 
GeneralRe: How to pass a parameter in an event Pin
PandemoniumPasha1-Apr-08 17:38
PandemoniumPasha1-Apr-08 17:38 
GeneralRe: How to pass a parameter in an event Pin
Silvyster1-Apr-08 22:12
Silvyster1-Apr-08 22:12 
GeneralRe: How to pass a parameter in an event Pin
J4amieC1-Apr-08 22:30
J4amieC1-Apr-08 22:30 
GeneralInfos, links, best practice etc. for programming a webservice Pin
stephan_0071-Apr-08 12:02
stephan_0071-Apr-08 12:02 
GeneralRe: Infos, links, best practice etc. for programming a webservice Pin
KaptinKrunch1-Apr-08 14:05
KaptinKrunch1-Apr-08 14:05 
GeneralRe: Infos, links, best practice etc. for programming a webservice Pin
Rob Philpott1-Apr-08 22:45
Rob Philpott1-Apr-08 22:45 
Question(XML) Editing a single element within a node Pin
Stupefy1-Apr-08 10:13
Stupefy1-Apr-08 10:13 
GeneralRe: (XML) Editing a single element within a node Pin
damianrda1-Apr-08 10:56
damianrda1-Apr-08 10:56 
GeneralRe: (XML) Editing a single element within a node Pin
Stupefy1-Apr-08 11:03
Stupefy1-Apr-08 11:03 
GeneralRe: (XML) Editing a single element within a node Pin
led mike1-Apr-08 11:04
led mike1-Apr-08 11:04 
GeneralRe: (XML) Editing a single element within a node Pin
led mike1-Apr-08 10:59
led mike1-Apr-08 10:59 
QuestionA style question regarding multi-signature methods Pin
Clive D. Pottinger1-Apr-08 9:19
Clive D. Pottinger1-Apr-08 9:19 
GeneralRe: A style question regarding multi-signature methods Pin
Pete O'Hanlon1-Apr-08 9:28
mvePete O'Hanlon1-Apr-08 9:28 

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.