博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月24日

摘要: 注:本页是基于原来的QuickStart.doc文档,你可以在早期的NUnit发布中找到它。已经指出它并不是一个非常好的TDD实例。尽管如此,我们仍然将它保留在文档中,因为它的的确确描述了使用NUnit的基础。我们会在以后的版本中重新审查或替换它。 让我们从一个简单的实例开始吧。假设我们正在编写一个空应用程序,并且我们有一个基本的领域类-Account。Account提供了储蓄,取款,以及转帐等... 阅读全文

posted @ 2009-12-24 13:12 Simon Zeng 阅读(642) 评论(0) 推荐(0) 编辑

摘要: 转自: http://blogs.crsw.com/mark/articles/252.aspxC# Interview QuestionsThis is a list of questions I have gathered from other sourcesand created myselfover a period of time from my experience, many of ... 阅读全文

posted @ 2009-12-24 12:40 Simon Zeng 阅读(589) 评论(1) 推荐(0) 编辑

摘要: using System;namespace teststatic{ class class1 { static int i = getNum(); int j = getNum(); static int num = 1; static int getNum() { return num; } static void Main(string[] args) { Console.WriteLin... 阅读全文

posted @ 2009-12-24 10:27 Simon Zeng 阅读(2885) 评论(2) 推荐(0) 编辑