湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页

2014年4月21日

摘要: 网上查了一下,原因在于要parse的Xml文件本身包含了一些namespace,这些需要被添加进去。 http://msdn.microsoft.com/zh-cn/library/system.xml.xmldocument.selectsinglenode.aspx 阅读全文
posted @ 2014-04-21 15:00 fdyang 阅读(412) 评论(0) 推荐(0)

2014年4月18日

摘要: http://powershell.com/cs/blogs/ebookv2/archive/2012/03/23/chapter-16-managing-windows-registry.aspx 阅读全文
posted @ 2014-04-18 14:04 fdyang 阅读(205) 评论(0) 推荐(0)

2014年4月15日

摘要: 点击button,选择一个excel文件,并将文件名显示在textbox上。 private void btnSelectErrorTableFile_Click(object sender, RoutedEventArgs e) { var ope... 阅读全文
posted @ 2014-04-15 17:01 fdyang 阅读(10320) 评论(1) 推荐(0)

2014年4月11日

摘要: InRelease modethe number in front of the exception is NOT the line of code. Instead it's an offset to the native compiled code, which doesn't have any meaning to humans. More about this here:http://odetocode.com/Blogs/scott/archive/2005/01/24/963.aspxIndebug modethe PDB file will automatical 阅读全文
posted @ 2014-04-11 11:37 fdyang 阅读(291) 评论(0) 推荐(0)

2014年4月7日

摘要: 首先需要理解 Delegate, Action, Func, Predicate 從根本原理上講都是函數指針,只不過傳入參數和返回值有所限定。 所有的Action, Func, Predicate 都可以轉化成 delegate 來實現。 (1). delegate delegate我们常用到的一种 阅读全文
posted @ 2014-04-07 20:00 fdyang 阅读(324) 评论(0) 推荐(0)

2014年3月31日

摘要: http://www.dotblogs.com.tw/skychang/archive/2012/05/10/72114.aspx?fid=60865 阅读全文
posted @ 2014-03-31 15:26 fdyang 阅读(205) 评论(0) 推荐(0)

2014年3月10日

摘要: foreach (var keyCode in unexpectedKeyCodesDetected) { string unexpected = expectedCapturedKeyCodes.Where(key => key == keyCode).First(); }空集合时,从First()处 Throw the exceptoins.修改: First() =>FirstOrDefault(),然后对返回String做null判断。 阅读全文
posted @ 2014-03-10 15:16 fdyang 阅读(3705) 评论(0) 推荐(0)

2014年2月25日

摘要: 简单一句话: Dictionary 是 由 KeyValuePair结构 组成的集合TheDictionary.Enumerator.Currentproperty returns an instance of this type.Theforeachstatement of the C# language (for eachin C++,For Eachin Visual Basic) requires the type of the elements in the collection. Since each element of a collection based onIDiction 阅读全文
posted @ 2014-02-25 13:05 fdyang 阅读(4691) 评论(0) 推荐(1)

2014年1月23日

摘要: On 03/03/2010, in4.0,WF, by bcakirogluWhile ActivityIn a While activity, the activity in the Body section is executed as long as the Condition is true. The Condition is evaluated first and then, if true, the activities are executed. This is repeated until the Condition is false.DoWhile ActivityThe D 阅读全文
posted @ 2014-01-23 12:40 fdyang 阅读(269) 评论(0) 推荐(0)

2014年1月22日

摘要: System.Diagnostics.Debug.WriteLine("Serial port. {0},{1}", this.GetType().FullName, new System.Diagnostics.StackTrace(true)); 阅读全文
posted @ 2014-01-22 11:45 fdyang 阅读(160) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页