|
|
-
Jalpesh Posted 3 Months ago through Blogs
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 ...
|
-
Jalpesh Posted 4 Months ago through Blogs
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....
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 4 Months ago through Blogs
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...
|
-
Jalpesh Posted 5 Months ago through Blogs
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...
|
-
Jalpesh Posted 5 Months ago through Blogs
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...
|