How to refactor and make static class code testable?

We commonly come across a problem where we need to write a unit test case of an existing application and found that it has tons on dependency of static methods.   Here we would be directly jumping on how to refactor your code to get rid of static methods meanwhile you can go through the […]

How to Identify the Kinect Sensor Capabilities ?

When you are developing a Kinect application, you must ensure that the Kinect device attached with your application supports all the required capabilities. If the attached device does not support the capabilities that your application need, you can prompt a message to user on the same. Now, how do we identify the capabilities of Kinect […]

Automatically place the ‘System’ directives first when ‘Sorting Usings’ option in Visual Studio

Sort and Remove the unused namespaces is a standard coding practices.  In the Visual Studio IDE, you can achieve it very easily with the help of  “Organize Usings” options,  or just enable a shortcut key like explained in the Remove and Sort – Namespaces using Shortcut in Visual Studio tip.  In sort, we have three different options […]

Create your own development environment View – Custom Windows Layouts in Visual Studio 2015

Visual Studio 2015 introduced a nice feature, which let us customize the overall IDE experience and reuse it further. This becomes very handy if you develop on multiple devices or multiple monitors, and generally most of the developer does that. We develop applications either in  Laptop, Tablet and as well as large screen monitors. Depends on […]