While debugging the applications in visual studio, in may instances it many require to call a specific method when a breakpoint is hit. It may be because of just to verify some output or check some variables values. We can perform that part either using immediate window or execute those method in some other debugging session. However, all… Read More »
Code Clone helps you to identify the duplicate code with in the files, projects as well within solution. This helps us to identify the logics that can be refactored and can be rewritten in a common method. You can check out this tip to learn how this code clone works. Once you have the matched code, you can… Read More »
Dependency Graphs in Visual Studio allows us to explore and understand the code in a better and visual way. In this tip you will learn how you can search some components from the Visual Studio generated dependency diagram very effectively. First of all, lets have a look how to generate the dependency diagram. If you want to manage… Read More »
Visual Studio 2013 introduced a great feature that helps you to inspect all the functions / nested functions returns values during the current debugging session. This is really useful when the returned values are not stored in a local variables and you want to check them. You can actually view then by giving the specific values in Watch… Read More »
Watch window allows you to view the variables values in Hex Mode. This is very simple features, Just Right Click on Watch window and select Hexadecimal Display. Once you select “Hexadecimal Display”, you will get the screen similar like below
Once stuck on a requirement where I needed to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic. After trying many options I discovered myself how easy it is to hit this requirement using Lamda Expression.
SQL CE is a free, embedded, lightweight database engine that enables easy database storage. This does not required any installation and runs in memory. Visual Studio 2010 SP1 Came up with nice tooling support for SQL Server CE. We can add a SQL CE Data base using Add New Item option from Solution Explorer Context Menu. But In… Read More »