using System.Diagnostics;
IEnumerable
p => p.WorkingSet64 > 50000000
);
foreach (var item in processes) {
Console.WriteLine(item);
}
using System.Diagnostics;
IEnumerable
p => p.WorkingSet64 > 50000000
);
foreach (var item in processes) {
Console.WriteLine(item);
}
using System.Text.RegularExpressions;
public static class KWUExtensions {
public static bool IsValidEmailAddress(this string s) {
Regex regex = new Regex(@"^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$");
return regex.IsMatch(s);
}
}
To use it:
string email = "kenny@yahoo.ca";
bool result = email.IsValidEmailAddress();
Console.WriteLine("{0} is : {1}", email, result);
A very good blog w/ discussion about composite key Vs surrogate key.
http://weblogs.sqlteam.com/jeffs/archive/2007/08/23/composite_primary_keys.aspx