Problem : I want to be able to project to another type when querying MongoDB using the C# SDK. For […]
WPF DotNET Application will run in debug mode, but .EXE will not run
Problem : I wrote a WPF application in C# using VS 2010. The application will run fine in debug mode […]
How do I use a C++ library from C# and .NET?
Problem : My question is closely related to how a DLL exports C++ classes and generic methods (wrt C++ language […]
Why compiled lambda build over Expression.Call is slightly slower than delegate that should do the same?
Problem : Why compiled lambda build over Expression.Call is slightly slower than delegate that should do the same? And how […]
Get supported image formats from BitmapImage
Problem : How can I get a list of image formats supported by System.Windows.Media.Imaging.BitmapImage? I am writing a simple image […]
Is this lock-free .NET queue thread safe?
Problem : My question is, is the class included below for a single-reader single-writer queue class thread-safe? This kind of […]
.net post form in code behind
Problem : I wanna make a post form in code behind. I have simple html post is working but when […]
Should I unit test for multithreading problems before writing any lock?
Problem : I am writing a class that I know that needs a lock, because the class must be thread […]
What does the “private” modifier do?
Problem : Considering “private” is the default access modifier for class Members, why is the keyword even needed? Solution : […]
How to ContinueWith another function with result from previous task when using Tasks?
Problem : I have WCF connector that should get some small amount of data for me, usually it takes up […]