摘要: C#中的异常处理 while (ex != null) { WriteExceptionLog(ex, fileName); ex = ex.InnerException; } /// <summary> /// 将异常处理成字符串的形式,然后写入文件 /// </summary> /// <par 阅读全文
posted @ 2015-07-09 18:34 ChuckLu 阅读(457) 评论(0) 推荐(0)
摘要: How to: Create a Windows Communication Foundation Client To create a Windows Communication Foundation client Create a new console application project 阅读全文
posted @ 2015-07-09 15:46 ChuckLu 阅读(184) 评论(0) 推荐(0)
摘要: Sum of Digits / Digital RootIn this kata, you must create adigital rootfunction.A digital root is therecursive sum of all the digits in a number.Given... 阅读全文
posted @ 2015-07-09 15:30 ChuckLu 阅读(771) 评论(0) 推荐(0)
摘要: Multiples of 3 and 5If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.F... 阅读全文
posted @ 2015-07-09 14:56 ChuckLu 阅读(573) 评论(0) 推荐(0)
摘要: A number system with moduli is defined by a vector of k moduli, [m1,m2, ···,mk].The moduli must be pairwise co-prime, which means that, for any pair of... 阅读全文
posted @ 2015-07-09 12:15 ChuckLu 阅读(324) 评论(0) 推荐(0)
摘要: Case swappingDescription:Given a string, swap the case for each of the letters.e.g. CodEwArs --> cODeWaRSExamplesKata.Swap("") == ""Kata.Swap("CodeWar... 阅读全文
posted @ 2015-07-09 09:17 ChuckLu 阅读(304) 评论(0) 推荐(0)