摘要: //Copyright (C) Microsoft Corporation. All rights reserved. using System;using System.Collections.Generic;using System.Text; namespace Yield{ class Yield { public static class NumberList... 阅读全文
posted @ 2006-06-23 18:51 Gavin Liu 阅读(541) 评论(0) 推荐(0) 编辑
摘要: // Copyright (C) Microsoft Corporation. All rights reserved. using System;using System.Collections;using System.Collections.Generic;using System.Text; namespace Generics_CSharp{ //Type parameter T... 阅读全文
posted @ 2006-06-23 18:42 Gavin Liu 阅读(437) 评论(0) 推荐(0) 编辑
摘要: //Copyright (C) Microsoft Corporation. All rights reserved. // events2.csusing System;namespace MyCollections { using System.Collections; // A class that works just like ArrayList, but sends eve... 阅读全文
posted @ 2006-06-23 18:41 Gavin Liu 阅读(309) 评论(0) 推荐(0) 编辑
摘要: //Copyright (C) Microsoft Corporation. All rights reserved. // events1.csusing System;namespace MyCollections { using System.Collections; // A delegate type for hooking up change notifications. ... 阅读全文
posted @ 2006-06-23 18:39 Gavin Liu 阅读(325) 评论(0) 推荐(0) 编辑
摘要: //Copyright (C) Microsoft Corporation. All rights reserved. // compose.csusing System; delegate void MyDelegate(string s); class MyClass{ public static void Hello(string s) { Console.Wri... 阅读全文
posted @ 2006-06-23 18:37 Gavin Liu 阅读(257) 评论(0) 推荐(0) 编辑
摘要: //Copyright (C) Microsoft Corporation. All rights reserved. // bookstore.csusing System; // A set of classes for handling a bookstore:namespace Bookstore { using System.Collections; // Describes... 阅读全文
posted @ 2006-06-23 18:36 Gavin Liu 阅读(231) 评论(0) 推荐(0) 编辑
摘要: csc CondMethod.cs tracetest.cs /d:DEBUG tracetest A B C //Copyright (C) Microsoft Corporation. All rights reserved. // TraceTest.cs// compile with: /reference:CondMethod.dll// arguments: A B Cusing ... 阅读全文
posted @ 2006-06-23 18:34 Gavin Liu 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 编译与执行:csc tokens2.cs tokens2 tokens2.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // tokens2.csusing System;using System.Collections; public class Tokens: IEnumerable{ private s... 阅读全文
posted @ 2006-06-23 18:17 Gavin Liu 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 编译与执行: csc tokens.cs tokens tokens.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // tokens.csusing S... 阅读全文
posted @ 2006-06-23 18:14 Gavin Liu 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 编译与执行: csc arrays.cs arrays arrays.cs ://Copyright (C) Microsoft Corporation. All rights reserved. // arrays.csusi... 阅读全文
posted @ 2006-06-23 18:11 Gavin Liu 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 编译与执行: csc AnonymousDelegates.cs AnonymousDelegates AnonymousDelegates.cs ://Copyright (C) Microsoft Corpo... 阅读全文
posted @ 2006-06-23 18:07 Gavin Liu 阅读(1251) 评论(0) 推荐(0) 编辑

Right people get the right information at the right time.
以技术求生存,以市场求发展;学以至用,开拓创新;达技术之颠峰,至市场之广阔!