Using Enum to store multiple bool fields

Hello, Once I attended an interview for the C# programming job. And programmer asked me a question. Though I was not able to answer the question. But I will share here the question and the answer using enum in this post which can help you to encounter any such scenario in your job.

JQuery Selectors – A Quick Reference

In this article I will discuss the various ways by which we can select an element in HTML page using Jquery. If you want to know how to start Jquery development you can read this article. After setting up the project and environment we can start our development with Jquery selectors.

When and where to use C# Decorator Pattern

In this article I will discuss one of the important and structural design pattern. The pattern I want to discuss is the decorator pattern. I will use the C# code example to illustrate the use and implementation of this pattern.

How to perform C# Asynchronous operations

In this article I will discuss about the different ways in which we can perform a long running operation asynchronously in C#. I will discuss all the cases with examples. This will help you to decide which method you can opt for while working asynchronous programming.

Comparing C# types – IComparable or IComparer

How to make best of the interfaces provided by .NET framework for comparison types? In this article I will discuss why to use IComparable or IComparer interfaces. And why do we need to compare types in .NET at first place.Lets’s start checking all the aspects one by one by using C# examples.

Correct way to provide parameter to C# Task

In this article I will discuss the correct way to provide input parameter to the task and not to use the shared variable for the tasks. Before reading further you may want to read my previous articles about tasks.

WPF validation using INotifyDataErrorInfo

In this article I will discuss about INotifyDataErrorInfo which is used to validate the data asynchronously in WPF. In my previous articles I have discussed about the ways to validate data entered in the UI.

WCF or Web Api ? Make your own choice.

There are lots of article out there to explain you the difference between WCF and Web Api. But while working in practical scenarios which one to choose ? In this article I will cover the difference from the pragmatic point of view which should help you to choose the best among WCF and web api.

My First Experience as Technology Speaker

Since long I had a hidden desire of speaking in front of audience. I wanted to experience how it feels to be in front of people and teach them something useful which they can use in their projects and day to day working scenarios. But I should also admit that I had fear of speaking… Read More »

WPF Self and AncestorType Relativebinding in DataGrid

In this article I will discuss about the Relativebinding in WPF with C# code example. This type of binding can be used as an alternative to the data context binding. This binding makes the binding bit easier.

Analysing the code using Big O notation

Are you writing software an any programming language? If yes, have you ever wondered while writing even a simple iteration or recursive method how good or bad is it? In this article I will try to analyse my algorithm which I have written to get some end results. I will use C# as the language.… Read More »

Important IEnumerable methods for Fast programming

In this article I will discuss some of the important functions which have been provided by the .NET framework for IEnumerable types. These functions comes very handy to work in fast paced development.Lets see what are these functions are. I will use C# as the language for the examples.

Implementing Equality For C# value Types

Introduction In one of the previous article I have discussed about the equality in C#. In that article I have shown why it is important to override the Equal() method of the base object class for value types. and what is the correct way to provide the equality for the value types in C#.