Unable to use xbuild to build solution (Mono)?

When trying to use xbuild to build my solution through Mono on Mac and Linux (haven't tested under Windows yet), I g...

Convert Pdf file pages to Images with itextsharp?

I want to convert Pdf pages in Images using ItextSharp lib. Have any idea how to convert each page in image file ...

Merging dictionaries in C#?

What's the best way to merge 2 or more dictionaries (Dictionary<T1,T2>) in C#? (3.0 features like LINQ are fin...

C# modulus operator?

I can write the program int a = 3; int b = 4; Console.WriteLine(a % b); The answer I get is 3. How does 3 mod 4...

How can I open Windows Explorer to a certain directory from within a WPF app??

In a WPF application, when a user clicks on a button I want to open the Windows explorer to a certain directory, how...

Playing a MP3 file in a WinForm application?

I am developing a WinForm application. I want to play a MP3 file when the user clicks a button. The MP3 file is l...

Fastest way to append text to a richtextbox??

I have a application with a RichTextBox control where a procedure is adding text almost all the time: RichTextBox1....

Read only first line from a text file?

so what I'm failing to do is, MyFile.txt has either "english", "french" or "german" in the first line and I want to ...

right click context menu for datagridview?

I have a datagridview in a .NET winform app. I would like to rightclick on a row and have a menu pop up. Then i woul...

Where to find “Microsoft.VisualStudio.TestTools.UnitTesting” missing dll??

I am getting following error in my C# visual studio project: The type or namespace name 'VisualStudio' does not ...

Thread Safety of log4net?

There seems to be some discussion on whether log4net is thread-safe, the consensus is that the framework is thread-s...

How to call a button click event from another method?

How can I call SubGraphButton_Click(object sender, RoutedEventArgs args) from another method? private void SubGrap...