Unit testing void methods??

What is the best way to unit test a method that doesn't return anything? Specifically in c#. What I am really tryin...

Reading an integer from user input?

What I am looking for is how to read an integer that was given by the user from the command line (console project). ...

Alternate tool for a GhostDoc type of tool?

Is there a tool for .NET which will generate explanations (comments) of code if we give it function or event handler...

How to find the Number of CPU Cores via .NET/C#??

Is there a way via .NET/C# to find out the number of CPU cores? PS This is a straight code question, not a "Should ...

How to make a wpf countdown timer??

I want to create wpf countdown timer that display the result as hh:mm:ss into textbox, I would be thankful for anyon...

Get domain name?

My computer is in a Domain (Active Directory) and I need to get the domain name dynamically. I found the following c...

Calling JavaScript Function From CodeBehind?

Can someone provide good examples of calling a JavaScript function From CodeBehind and Vice-versa? ...