Hello,

In Visual 6, MFC 4.2 I had AfxGetApp. I used it to get the application object from all other objects. In this class I added some fields and some set\get methods.

How can I do the same in Visual 2008, in C# ?

I'm looking for an elegant way to declare and use a singleton in C#.

Thanks.