Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help with DownloadFileCompleted event Pin
Ben Fair14-Nov-08 2:51
Ben Fair14-Nov-08 2:51 
QuestionStereo Image Rectification Software! Pin
farid_colombia13-Nov-08 15:06
farid_colombia13-Nov-08 15:06 
AnswerRe: Stereo Image Rectification Software! Pin
Dave Kreskowiak13-Nov-08 18:24
mveDave Kreskowiak13-Nov-08 18:24 
GeneralRe: Stereo Image Rectification Software! Pin
farid_colombia13-Nov-08 18:57
farid_colombia13-Nov-08 18:57 
QuestionC# XNA & and the dreaded Global Variables Pin
Zircon13-Nov-08 14:54
Zircon13-Nov-08 14:54 
AnswerRe: C# XNA & and the dreaded Global Variables Pin
DaveyM6913-Nov-08 15:47
professionalDaveyM6913-Nov-08 15:47 
AnswerRe: C# XNA & and the dreaded Global Variables Pin
Mycroft Holmes13-Nov-08 16:49
professionalMycroft Holmes13-Nov-08 16:49 
QuestionRe: C# XNA & and the dreaded Global Variables Pin
Zircon14-Nov-08 1:53
Zircon14-Nov-08 1:53 
One of the reasons why global variables are bad is because everything in the program has access to them.

While reading up on singletons there seem to be just as many threads with the subject "Singletons are evil" as there are "Global Variables are evil".

How should i interpret what seems to be a bias against any and all sorts of persistent data?

How do people usually fix things like...
1: "Shopping cart" in webapplications, everything doesn't need to have access to the shopping cart but unless you store the shopping cart as a global or singleton(static class) you're going to lose whatever was in it.

2: Texture storage in games, same problem here, the sound manager for example doesn't need access to the textures, but unless you store the textures somewhere in the higher scope you're going to lose it all when the sound manager starts.

Still confused
QuestionDataGridView <-> xml: can load but can´t save Pin
nelsonpaixao13-Nov-08 13:28
nelsonpaixao13-Nov-08 13:28 
QuestionSend http link to Asterisk server Pin
Kit Fisto13-Nov-08 13:24
Kit Fisto13-Nov-08 13:24 
Questioncall MFC-dialog from managed code Pin
Yevgen Lisovenko13-Nov-08 8:16
Yevgen Lisovenko13-Nov-08 8:16 
AnswerRe: call MFC-dialog from managed code Pin
Edmundpaida8-Oct-12 0:24
Edmundpaida8-Oct-12 0:24 
Questionreading XML Pin
Planker13-Nov-08 8:01
Planker13-Nov-08 8:01 
AnswerRe: reading XML Pin
Ennis Ray Lynch, Jr.13-Nov-08 8:08
Ennis Ray Lynch, Jr.13-Nov-08 8:08 
GeneralRe: reading XML Pin
Planker13-Nov-08 8:26
Planker13-Nov-08 8:26 
GeneralRe: reading XML Pin
Ennis Ray Lynch, Jr.13-Nov-08 8:36
Ennis Ray Lynch, Jr.13-Nov-08 8:36 
GeneralRe: reading XML Pin
Planker13-Nov-08 8:46
Planker13-Nov-08 8:46 
AnswerRe: reading XML Pin
Wendelius13-Nov-08 8:40
mentorWendelius13-Nov-08 8:40 
GeneralRe: reading XML Pin
Planker13-Nov-08 9:12
Planker13-Nov-08 9:12 
GeneralRe: reading XML Pin
Wendelius13-Nov-08 9:21
mentorWendelius13-Nov-08 9:21 
AnswerRe: reading XML Pin
netJP12L13-Nov-08 8:48
netJP12L13-Nov-08 8:48 
AnswerRe: reading XML Pin
sph3rex13-Nov-08 8:50
sph3rex13-Nov-08 8:50 
AnswerRe: reading XML [modified] Pin
Planker13-Nov-08 9:33
Planker13-Nov-08 9:33 
GeneralRe: reading XML Pin
sph3rex13-Nov-08 10:45
sph3rex13-Nov-08 10:45 
GeneralRe: reading XML Pin
Planker14-Nov-08 6:43
Planker14-Nov-08 6:43 

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.