What is the best way to create a singleton object in C#? I want an instance of my cache object to be shared by all the threads in my process. The process also happens to be an NT service. How does the garbage collection affect the singleton?
I'm looking to return a list (perhaps in a list box) of all keys (ALL TEXT) that were found. If that Text appears anywhere in registry I want it added to my list. Then I can select/deselect what I wish and then delete the selected items. Allow someone to highlight and delete specific ones.
I would like to connect to a server through TcpClient class.
As I'm going through ISA Proxy which requires a NTLM authentication, I want to know how do I associate webproxy class with tcpclient (if thats possible).
I could do something like this with WebRequest class,
Sijin wrote: hmmmm is that so?...i don't think there is any difference.
Well that was just an idea, i was not really sure. but yes you are right, no difference except that Visual C# provides wizards and win forms like things.
As Sijin said there isn't any difference in the language.
C# is the language, Visual C# is a product produced by Microsoft which includes an IDE to help make the writing of C# programs faster. VC# includes a forms designer, as well as some wizards that will generate code.