I’ve always felt that the string is the most noble of data types. Computers run on ones and zeros, sure, but people don’t. They use words, sentences, and paragraphs to communicate. People communicate with strings. The meteoric rise of HTTP, HTML, REST, serialization, and other heavily string-oriented, human-readable techniques vindicates—at least in my mind—my lifelong [...]
Tag Archives: Strings
concatenating delimited strings from object properties Asp.Net C#
Posted by james on April 28, 2011
0 comments
The sample code we’ve looked at so far has been reasonably simple. Let’s look at a more difficult problem—building a delimited list composed of values that are calculated from object properties. Suppose we have a simple class named Party: PartyDemo.cs (excerpt) public class Party { public Party(DateTime partyDate) { this.partyDate = partyDate; } public DateTime [...]