1 2 3 4
List<Document> documents = documentLayer.GetDocuments(username);
List<Document> filteredDocuments = new List<Document>();
...
C# Filterting a List<> w...
by mantis7.myopenid.com,
November 25, 2008 16:33,
2 refactorings, tagged with regular expression, C#, List, filter
1 2 3 4
public static class DirectoryInfoExtensions { public static void CopyTo(this String Source, String Destination, Boolean Overwrite) ...
C# DirectoryInfo.CopyTo
Because the .NET Framework ...
1 2 3
DateTime todayUTC = DateTime.Today.ToUniversalTime(); DateTime currentTimeUTC = todayUTC; ...
C# Generating a list of time v...
I need to generate a list o...
1 2 3 4
public static void Capitalize() { TextInfo oTextInfo = CultureInfo.CurrentCulture.TextInfo; ...
C# Capitalize directory name w...
I wrote a method to capital...
1 2 3 4
namespace Utilities { using System; ...
C# StringExt.cs (String Extens...
Ok take it easy on me, I ju...
1 2 3 4
namespace DataSetTableAdapters { partial class MyTableAdapter { ...
C# TableAdapter and CommandTim...
by Auron,
July 02, 2008 10:19,
8 refactorings, tagged with tableadapter, commandtimeout, dataset, ado, C#, .net
As TableAdapters are are au...
1 2 3 4
public static List<T> MergeListCollections<T>(List<T> firstList, List<T> secondList) { List<T> mergedList = new List<T>(); ...
C# Merge generic lists
Toying with some utility me...
1 2 3 4
// ***** Encryption and Decryption ***** // byte[] Key(string sText) { ...
C# Encryption and Decryption
This is my first attempt at...
1 2 3 4
using System; using System.Collections.Generic; using System.Linq; ...
C# Pointers in C#
I am trying to work out how...
1 2 3 4
void CopySourceTables(List<TableNameResult> tables, int id) { // Execute the "Copy" Command on the Server for Each Table. ...
C# Common StProc Code
Hi guys, following my previ...
1 2 3 4
public List<double> GenerateLogNormalDistribution(int numberOfTimes, double mean, double standardDeviation) { Random randomGenerator = new Random(); ...
C# Lognormal Distribution
Is there a better way to do...
1 2 3
def filename self.uri.split('/').last ...
C# Get the Filename segment o...
by jwmittag,
January 01, 2008 15:04,
10 refactorings, tagged with ruby, rails, Ruby on Rails, RoR, C#, CSharp, C-Sharp, .net, DotNET, asp.net, Scott Porad, Comparison
On his Blog "Progress vs. P...
Have the below code which f...