Top Stories published by theburningmonk.com in August of 2010
02
05
06
10
11
15
16
17
18
19
20
21
22
23
26
27
28
29
30
31

Converting a binary string representation into binary array in C#

Stumbled across this question on StackOverflow the other day, definitely one for the interview! The question goes:

How do you convert a string such as “01110100011001010111001101110100” to a

WCF — Data Contract version round-tripping using IExtensibleDataObject

With WCF, provided that you’re using the DataContractSerializer and not the NetDataContractSerializer, you have a certain degree of protection against data contract changes from the client’s perspective.


Edge cases in the string vs. String comparison in C#

Whilst most C# developer would know that in C# the string type is equivalent to the System.String type because string is simply an alias for the System.String type. There are other framework defined alias like string, such as int for…


Functional programming with Linq — Enumerable.SequenceEqual

Yet another useful method on the Enumerable class, the SequenceEqual method does exactly what it says on the tin and tells you whether or not two sequences are of equal length and their corresponding elements are equal…


C# Extension method for checking attributes

Another good question on StackOverflow, and even better answer from Steven (miles better than what I managed!), the question was around how to implement an extension method to check whether a certain method has a particular attribute applied to it…


.Net Tips — String.ToTitleCase() extension methods

As you most likely know already, there are ToLower() and ToUpper() methods on the String class in C#, but a method to convert a string to ‘Title Case’ is sadly missing.

These were the top 10 stories published by theburningmonk.com in August of 2010. You can also dive into daily archives for August of 2010 by using the calendar at the top of this page.