January 2013 - Posts

0
Comments

Visual studio 2012 color editor- Make Visual studio 2012 Colorful by Jalpesh P. Vadgama

This blog will be part of visual studio 2012 features series . I personally like the Metro UI for Visual Studio 2102 but  still some people are not happy with it. They really like Old Visual Studio 2010 layout and they wanted to have same kind of...
0
Comments

C# null-coalescing operator ?? by Jalpesh P. Vadgama

C# language provides many features and null-coalescing operator(??) is one of them. It’s a great operator to check whether object is null and if it is null then it will provide a default value. I have seen most of the people are not using while it’s a...
0
Comments

Tip-Convert array to Comma delimited string by Jalpesh P. Vadgama

I was needed to convert an string array into the comma delimited string and the old way to do that is too with for loop. But I was sure that there should be some ready made function that will do this very easily. After doing some research I have found...
Filed under: ,
0
Comments

How to get N row from datatable in C# by Jalpesh P. Vadgama

Problem: Recently one of my friend was needed only first three rows of data table and so he asked me and I have multiple solutions for that. So thought it would be great idea to share with you guys. Possible Solutions to problem: There are two ways to...
Filed under: ,
0
Comments

Lazy<T> in C# 4.0 by Jalpesh P. Vadgama

Before C# 4.0 there was no on demand initialization by default. So at the time of declaration we need to create a value or object will be null or we have to create on demand initialization via coding.. But with C# 4.0 we now have lazy class. As per MSDN...
Filed under: ,
More Posts