Click here to Skip to main content
15,915,164 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get BIOS Date Pin
Tamer Oz13-Jul-09 20:34
Tamer Oz13-Jul-09 20:34 
GeneralRe: Get BIOS Date Pin
rhtbhegade13-Jul-09 20:59
rhtbhegade13-Jul-09 20:59 
GeneralRe: Get BIOS Date Pin
Tamer Oz13-Jul-09 21:05
Tamer Oz13-Jul-09 21:05 
GeneralRe: Get BIOS Date Pin
rhtbhegade13-Jul-09 21:32
rhtbhegade13-Jul-09 21:32 
QuestionWhat are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver13-Jul-09 19:34
CoderForEver13-Jul-09 19:34 
AnswerRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute14-Jul-09 0:15
Henry Minute14-Jul-09 0:15 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver14-Jul-09 8:01
CoderForEver14-Jul-09 8:01 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute14-Jul-09 8:18
Henry Minute14-Jul-09 8:18 
AnswerRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver15-Jul-09 7:50
CoderForEver15-Jul-09 7:50 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute15-Jul-09 13:13
Henry Minute15-Jul-09 13:13 
QuestionSimple Plugin Architecture Pin
Baeltazor13-Jul-09 19:28
Baeltazor13-Jul-09 19:28 
AnswerRe: Simple Plugin Architecture Pin
Curtis Schlak.13-Jul-09 21:01
Curtis Schlak.13-Jul-09 21:01 
GeneralRe: Simple Plugin Architecture Pin
Baeltazor13-Jul-09 21:06
Baeltazor13-Jul-09 21:06 
GeneralRe: Simple Plugin Architecture Pin
Curtis Schlak.14-Jul-09 13:27
Curtis Schlak.14-Jul-09 13:27 
QuestionHow to Extract/Search Office Document using Indexing Services. Pin
alisolution13-Jul-09 18:10
alisolution13-Jul-09 18:10 
QuestionHow do you create 2 random values [modified] Pin
Nathan Revka13-Jul-09 15:55
Nathan Revka13-Jul-09 15:55 
AnswerRe: How do you create 2 random values Pin
mikanu13-Jul-09 16:00
mikanu13-Jul-09 16:00 
AnswerRe: How do you create 2 random values Pin
Christian Graus13-Jul-09 16:30
protectorChristian Graus13-Jul-09 16:30 
AnswerRe: How do you create 2 random values Pin
PIEBALDconsult13-Jul-09 17:30
mvePIEBALDconsult13-Jul-09 17:30 
QuestionIs there any way to monitor the incoming ping requests? [modified] Pin
Beyondard13-Jul-09 14:52
Beyondard13-Jul-09 14:52 
AnswerRe: Is there any way to monitor the incoming ping requests? Pin
Super Lloyd13-Jul-09 17:22
Super Lloyd13-Jul-09 17:22 
QuestionUse of statics and singletons Pin
saxisa13-Jul-09 12:04
saxisa13-Jul-09 12:04 
AnswerRe: Use of statics and singletons Pin
Christian Graus13-Jul-09 12:13
protectorChristian Graus13-Jul-09 12:13 
GeneralRe: Use of statics and singletons Pin
N a v a n e e t h13-Jul-09 18:02
N a v a n e e t h13-Jul-09 18:02 
AnswerRe: Use of statics and singletons Pin
Luc Pattyn13-Jul-09 12:44
sitebuilderLuc Pattyn13-Jul-09 12:44 
Hi,

I agree with what Christian said. I'll add some in my own words:

1. I don't mind static classes or singleton classes. When there is no state at all I think I'd prefer a static class over a singleton, since there is no real use in an instance then.

2. I don't mind large classes if they make sense. If they can be logically split into smaller ones, I'd go for that. Although it puts more burden on the user (remembering which method is in which class).

3. I would mind large methods very much. When refactoring, I'd go for smaller methods, and probably some internal helper classes. And use many files. I tend to keep files smaller than 400 lines.

4. yes namespaces are like packages (without the relation to folders though); having only a few does not hurt, until you get name clashes.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

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.