Click here to Skip to main content
15,884,064 members
Home / Discussions / C#
   

C#

 
AnswerRe: Big Number Pin
Luc Pattyn15-May-12 12:21
sitebuilderLuc Pattyn15-May-12 12:21 
GeneralRe: Big Number Pin
BobInNJ15-May-12 13:08
BobInNJ15-May-12 13:08 
AnswerRe: Big Number Pin
Luc Pattyn15-May-12 13:16
sitebuilderLuc Pattyn15-May-12 13:16 
QuestionSkipping locked section already in use Pin
varunpandeyengg15-May-12 5:41
varunpandeyengg15-May-12 5:41 
GeneralRe: Skipping locked section already in use PinPopular
PIEBALDconsult15-May-12 5:58
mvePIEBALDconsult15-May-12 5:58 
GeneralRe: Skipping locked section already in use Pin
varunpandeyengg15-May-12 6:13
varunpandeyengg15-May-12 6:13 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 6:29
mvePIEBALDconsult15-May-12 6:29 
GeneralRe: Skipping locked section already in use Pin
Sentenryu15-May-12 7:33
Sentenryu15-May-12 7:33 
i would like to hear more about why singleton are silly... I've a case where a server application would manage a list of users, the server could add a user, getLoggedUsers, log a user in, log out a user, get a list of all users and contact one user to send a chat request (the client contacts the server about the chat request, the server alerts the target user and then the users would chat directly), to implement the functionality of the contacts list (not a simple List<user>, sadly) i've made a static class who controls the underling List, synchronizing it with a XML file (used to serialize the list), this way, all the users contacting the server would see the same list of users.

i was thinking in replacing the static class with a singleton, you think it's a bad idea?
i would appreciate your opinion.
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 7:51
mvePIEBALDconsult15-May-12 7:51 
GeneralRe: Skipping locked section already in use Pin
Sentenryu15-May-12 8:19
Sentenryu15-May-12 8:19 
GeneralRe: Skipping locked section already in use Pin
jschell15-May-12 8:56
jschell15-May-12 8:56 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 9:11
mvePIEBALDconsult15-May-12 9:11 
GeneralRe: Skipping locked section already in use Pin
Sentenryu15-May-12 9:34
Sentenryu15-May-12 9:34 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 9:50
mvePIEBALDconsult15-May-12 9:50 
GeneralRe: Skipping locked section already in use Pin
Sentenryu16-May-12 0:29
Sentenryu16-May-12 0:29 
AnswerRe: Skipping locked section already in use Pin
Ravi Bhavnani15-May-12 11:36
professionalRavi Bhavnani15-May-12 11:36 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 12:51
mvePIEBALDconsult15-May-12 12:51 
GeneralRe: Skipping locked section already in use Pin
Ravi Bhavnani15-May-12 13:04
professionalRavi Bhavnani15-May-12 13:04 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 14:32
mvePIEBALDconsult15-May-12 14:32 
GeneralRe: Skipping locked section already in use Pin
Ravi Bhavnani15-May-12 14:43
professionalRavi Bhavnani15-May-12 14:43 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 14:56
mvePIEBALDconsult15-May-12 14:56 
GeneralRe: Skipping locked section already in use Pin
Ravi Bhavnani15-May-12 15:02
professionalRavi Bhavnani15-May-12 15:02 
GeneralRe: Skipping locked section already in use Pin
PIEBALDconsult15-May-12 17:21
mvePIEBALDconsult15-May-12 17:21 
GeneralRe: Skipping locked section already in use Pin
jschell16-May-12 9:04
jschell16-May-12 9:04 
GeneralRe: Skipping locked section already in use Pin
Pete O'Hanlon15-May-12 8:20
mvePete O'Hanlon15-May-12 8:20 

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.