No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
How can I change the signature of my Action delegates to NOT use void methods in my Dictionary<bool, Action<UrlParts, List<UrlParts>>>? public static Func<UrlParts, List<UrlParts>, bool> LacksDomainPage = (up, lup) => !lup.Contains(up); public static Action<UrlParts, List<UrlParts>> LacksUrl = (up, lup) => dicAddDomainPage[LacksDomainPage(up, lup)](up, lup); public static Dictionary<bool, Action<UrlParts, List<UrlParts>>> dicAddDomainPage = … |
|
Re:
Hi, i have a string that i want to match to a regular expression. The string is methodName(paraT1 para1, paraT2.name2 para2, paraT3.name3 para3) Inside the () there can be multiple of "aaa.bbb ccc" and "ddd eee" patterns The regular expression i wrote was : (\w*)(\s*)\((((\w*\.\w*)\s*(\w*))|((\w*)\s*(\w*)))(\s*\,\s*(((\w*\.\w*)\s*(\w*))|((\w*)\s*(\w*))))*\) and the I get the … |
|
Thank you in advance. I believe the items below should give a whole view. .Net 4.5.1 / x86 When using a SqlAdapter with new SqlParameter() { SqlDbType = SqlDbType.DateTime, ParameterName = "@FromDate", Value = "09/01/2008" }, I get the error "Conversion failed when converting date and/or time from character string" … |