Tutorials about C#

Fast image processing in c#

While the Bitmap provides GetPixel and SetPixel for accessing individual pixels in the bitmap - It is too slow and therefore it not suitable for image processing. The following FastBitmap class allows us to fast access the raw memory of bitmap data via pointers.

Code Review by Example with the singleton pattern

Code review is a continuous process of reading and examination of code in order to improve the quality of the software. In the code review phase the author of the code or the peer reviewers try to find mistakes, bugs and issues overlooked in the previous development phase. In this article, we will see how code review can improve the quality of the code by simple example - implementing the singleton pattern.

Singleton in c#

In your recent interviews, You have been asked to implement the singleton pattern in c#. In this article, I will try to explain what the interviewers wanted to hear ...