Regular expressions are common forms of parsing a document and get meaning. It has been very popular and most of the people do use it regularly to solve their complex problems. Being a developer, I use them very often. But there is a catch on using a regular expression. Regular expression gives you a chance to create a… Read More »
Event accessor is not new concept. It has been part of C# language from its inception. If you have ever built a class which has an Event with it, you might have already used it. The .NET automatically adds one Event Accessor inside the event when you define one without it. Unlike VB.NET, the event accessor does not… Read More »
Coming from C or C++, C# has always the flexibility to handle directives. The directives are well known in those languages, but most of the developers don’t know that these things still exists in C#. There are few pre-processor directives available on C# which help you to define a constant which is replaced during compile time, or even… Read More »
Visual Studio XML Comments has been a part for quite a while. There are a number of xml tags that are supported which could help in documenting the API which you might have been building. In this post, I am going to discuss how the individual xml tags can help you and this can become a ready reference… Read More »
Few days back we have discussed about some of the hidden and very useful code snippet of visual studio, ‘propfull – for property and backing field’ and ‘forr’ code snippet for reverse ‘for’ loop. Many of you have found them very useful and thanks for sharing the feedback. Today you will learn another interesting code snippet, called‘cw’.
The title of this post is confusing enough! Really ? nevertheless to say, you are smart enough to guess on what we are going to talk about. One of the frequent question that comes in the .NET interview is “What is the difference between Using Directives and Using Statement ?” Sometimes the interviewers puts some extra trap by asking… Read More »
The new addition of async and await have already created buzz in the city with the superior language support of calling asynchronous code that looks pretty synchronous. There are two keywords that has been introduced to handle this behavior. The async is a specifier which directs the compiler to orchestrate automatically during the compilation to change its behavior… Read More »
Well, after looking at the feature in Visual Studio 2013 well introduced by my buddy Abhijit, I was thinking to do the similar thing from application as well. I thought if I could build a tool how could I mimic the same behavior to send refresh signal to an opened process from my application. It seem to me… Read More »