Browse by Tags

All Tags » C# (RSS)

HTML editor enhancement in visual studio 2012 by Jalpesh P. Vadgama

In this post I am going to explain about HTML Editor Enhancement in visual studio 2012. I have been writing few post about Visual studio 2012 new features and this post will also be part of that. You can read whole series at following link. Visual Studio...

How to create overload methods in WCF service with C# by Jalpesh P. Vadgama

Before some days I have posted an blog about How to create overloaded web methods in asp.net web service? In this post I am going to explain how we can create overload methods in WCF(Windows Communication Foundation) service with C# language. So let’s...
Filed under: , , ,

SelectMany operator in Linq C# by Jalpesh P. Vadgama

SelectMany is an important operator in Linq. It takes each element of a sequence to an IEnumerable and flattens the resulting sequences into one sequence. You can find out more information about different overload list from the below link. http://msdn...
Filed under: , , ,

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...

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: ,

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: ,

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: ,

Lock keyword in C# by Jalpesh P. Vadgama

As we have written earlier we have now multi core CPU for our computers and laptops and to utilize that we need to use threading in code. Now if we create thread and access same resource at same time then it will create a problem at that time locking...
Filed under: , ,

Where I can find SQL Generated by Entity framework? by Jalpesh P. Vadgama

Few days back I was optimizing the performance with Entity framework and Linq queries and I was using LinqPad and looking SQL generated by the Linq or entity framework queries. After some point of time I got the same question in mind that how I can find...

Caller Info Attributes in C# 5.0 by Jalpesh P. Vadgama

In c# 5.0 Microsoft has introduced a Caller information attribute. It’s a new feature that is introduced in C# 5.0 and very useful if you want to log your code activities. With the help of this you can implement the log functionality very easily. It can...
Filed under: , ,
More Posts Next page »