Split string in equal sized chunks |
private IEnumerable<string> SplitIntoChunks(string text, int chunkSize) |
source: http://stackoverflow.com/questions/1632078/split-string-in-512-char-chunks-c |
Find the Date for the Start of the Week? |
public static class DateTimeExtensions |
source: http://stackoverflow.com/questions/38039/how-can-i-get-the-datetime-for-the-start-of-the-week |
Chained null checks and the Maybe monad - CodeProject |
OLD string postCode = null; |
NEW public static TResult With<TInput, TResult>(this TInput o, Func<TInput, TResult> evaluator) string postCode = this.With(x => person) |
source: http://www.codeproject.com/KB/cs/maybemonads.aspx |
C# Puzzlers http://streaming.ndc2010.no/tcs/?id=E915B78B-D9B7-4CE9-96DA-2B794391AD2F |
Wednesday, June 16, 2010
C#:: Code Factory
Labels:
C#
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment