|
|
-
|
|
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 ...
|
|
-
|
|
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....
|
|
-
|
|
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 c...
|
|
-
|
|
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 g...
|
|
-
|
|
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...
|
|
-
|
|
Recently I was using resharper to refactor some of my code and found that it was suggesting to use any() extension method instead of count() method in List. I was really keen about performance and found that resharper was right. There is huge performanc...
|
|
-
|
|
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 way...
|
|
-
|
|
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...
|
|
-
|
|
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 be...
|
|
-
|
|
Yesterday I have written a blog post about Where I can find SQL Generated by Entity Framework? and same day I got request from one of the our reader Ramesh that how I can find SQL generated by Linq-To-SQL?. I thought its a good idea to write a blog post...
|
|