<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>装配中的脑袋</title>
        <link>http://blog.joycode.com/ninputer/Default.aspx</link>
        <description>用程序装配大脑，再用大脑装配程序</description>
        <language>af</language>
        <copyright>Ninputer</copyright>
        <managingEditor>Ninputer@sohu.com</managingEditor>
        <generator>Joycode Version 1.0.0.0</generator>
        <image>
            <title>装配中的脑袋</title>
            <url>http://www.joycode.com/images/Ninputer/gravatar.aspx</url>
            <link>http://blog.joycode.com/ninputer/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>.NET 2.0 CER学习笔记</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/06/30/78128.aspx</link>
            <description>摘要：CER是.NET 2.0 CLR方面的重要改进，旨在帮助那些对稳定性高度苛刻的程序对付.NET Framework的不稳定因素。因为普通的程序很少会用到，所以一直没有对这个特性加以足够重视。现在碰巧在翻译书籍的过程中用到，就一起来学习一下。首先，需要提到异步异常的问题。异步异常就是指OutOfMemoryException、StackOverflowException和ThreadAbortException等系统异常。说他们“异步”是因为他们可以在线程代码执行到任何地方的时候发生。一般的异常，比如Fil...[&lt;a href=/ninputer/archive/2006/06/30/78128.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/78128.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/06/30/78128.aspx</guid>
            <pubDate>Fri, 30 Jun 2006 07:57:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/78128.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/06/30/78128.aspx#feedback</comments>
            <slash:comments>18</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/78128.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/78128.aspx</trackback:ping>
        </item>
        <item>
            <title>一些支离破碎的泛型反射技巧 </title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/06/02/76737.aspx</link>
            <description>摘要：本文为一些泛型反射技巧的简单罗列，为日后的文章做准备。1、如何获得一个封闭构造类型（closed constructed type）的Type对象？假设有如下的类型：
class&amp;nbsp;TestType&amp;lt;T&amp;gt;class&amp;nbsp;TestType&amp;lt;T,&amp;nbsp;U&amp;gt;如果要获得封闭构造类型的Type对象，那么只需要用C#的typeof运算符，或者VB的GetType运算符作用于具体类型即可：
//C#Type&amp;nbsp;t1&amp;nbsp;=&amp;nbsp;typeof(TestT...[&lt;a href=/ninputer/archive/2006/06/02/76737.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/76737.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/06/02/76737.aspx</guid>
            <pubDate>Fri, 02 Jun 2006 00:49:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/76737.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/06/02/76737.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/76737.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/76737.aspx</trackback:ping>
        </item>
        <item>
            <title>泛型技巧系列：类型字典和Type Traits </title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/04/14/74480.aspx</link>
            <description>摘要：注意：未经许可，本系列禁止转载。本文所介绍的技巧，是我在研究泛型开发不久就发现并成功运用的技 巧。这个技巧是突破.NET泛型限制，达到“看上去很美”境界的法宝。当然本方法也存在重大缺陷，后面我会逐一介绍。 本文同时使用VB和C#语法，以下是泛型方面VB和C#的语法小小对照：



VB
C#

Identifier(Of T)
Identifier&amp;lt;T&amp;gt;

Identifier(Of T As C)
Identifier&amp;lt;T&amp;gt; where T : C上次我们介...[&lt;a href=/ninputer/archive/2006/04/14/74480.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/74480.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/04/14/74480.aspx</guid>
            <pubDate>Fri, 14 Apr 2006 02:16:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/74480.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/04/14/74480.aspx#feedback</comments>
            <slash:comments>51</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/74480.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/74480.aspx</trackback:ping>
        </item>
        <item>
            <title>Excel开发（VSTO2005）：简化工作表中选定区域的操作。 </title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/03/23/73362.aspx</link>
            <description>摘要：这是我第一次发Office开发相关的帖子。说到Office开发，我只能算新手。这次是碰巧开发了一个Excel智能文档项目，其中用到了这个小小的技巧，就发出来让大家看看。在Excel开发中，工作表上最基本也是最常用的元素就是Range，Range可以表达一个获任意多个单元格或者矩形区域的组合，其复杂程度相当高。如果我们的智能文档程序要与用户打交道的话，势必要编程控制文档中的单元格，或与用户选择的单元格交互。而Range的对象模型并不符合.NET开发人员的习惯，要想获取用户选中区域的形状或者操作特定形状的区域...[&lt;a href=/ninputer/archive/2006/03/23/73362.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/73362.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/03/23/73362.aspx</guid>
            <pubDate>Thu, 23 Mar 2006 05:56:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/73362.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/03/23/73362.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/73362.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/73362.aspx</trackback:ping>
        </item>
        <item>
            <title>泛型技巧系列：避免基类及接口约束</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/03/20/73065.aspx</link>
            <description>摘要：本系列未经许可，禁止转载（包括网络媒体刊载）
.NET泛型的一大特点是在编译阶段对类型参数不做任何假设。也就是说，面对类型参数T和他的变量，你没有什么能做的——不能调用除Object成员之外的任何方法，不能进行大多数运算符的运算等等。它提供了一个叫约束的机制，能在编译期对类型实参的取值进行一些检查。许多人都将约束视为在类型参数上提供操作支持的唯一方法，并大量使用——你有没有约束过IComparable呢？但是，这种做法是不对的，因为约束仅仅能检测声明类型是否实现了某接口或继承自某类，但通过接口和基类实现...[&lt;a href=/ninputer/archive/2006/03/20/73065.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/73065.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/03/20/73065.aspx</guid>
            <pubDate>Mon, 20 Mar 2006 05:29:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/73065.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/03/20/73065.aspx#feedback</comments>
            <slash:comments>26</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/73065.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/73065.aspx</trackback:ping>
        </item>
        <item>
            <title>VBF BETA 1.5 发布了</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/02/24/71943.aspx</link>
            <description>摘要：昨天忙了一个晚上，终于发布了新的BETA 1.5。叫BETA 1.5而不是BETA2的原因是我觉得这次发布比较仓卒，品质恐怕还到不了叫BETA2的程度。但是这次更新带来的新特性还是比较多的。下载页面： http://sourceforge.net/project/showfiles.php?group_id=148613 首先给不熟悉VBF的人简单介绍一下VBF：VBF是一个.NET下的函数式编程类库，提供了创建函数式算法逻辑的基本框架，还提供了一个使用组合子和高阶函数来创建新函数的体系。使用VBF可以实...[&lt;a href=/ninputer/archive/2006/02/24/71943.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/71943.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/02/24/71943.aspx</guid>
            <pubDate>Fri, 24 Feb 2006 01:42:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/71943.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/02/24/71943.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/71943.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/71943.aspx</trackback:ping>
        </item>
        <item>
            <title>泛型技巧系列：简单类型选择器</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/02/16/71535.aspx</link>
            <description>摘要：注意：本系列未经许可，不得转载。 在泛型编程当中，我们对类型的关注大大提高了。有时需要这样的功能：“当类型是A的时候执行这段代码；当类型是B的时候执行另一段代码”。就是说，需要针对类型进行分支选择。当前，我们有三种机制可以实现这种分支选择：1、根据编译期声明类型选择的函数重载机制。2、根据运行时类型的虚函数-重写机制。3、If语句+类型判断。我们使用面向对象和泛型中的某些机制都是为了消除If语句带来的影响，所以这个时候使用If语句可能令人不太兴奋。但是有时候If语句是唯一的实现方式，我们可以将If封装到基...[&lt;a href=/ninputer/archive/2006/02/16/71535.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/71535.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/02/16/71535.aspx</guid>
            <pubDate>Thu, 16 Feb 2006 01:35:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/71535.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/02/16/71535.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/71535.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/71535.aspx</trackback:ping>
        </item>
        <item>
            <title>泛型技巧系列：用泛型打造可复用的抽象工厂</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/01/12/70313.aspx</link>
            <description>摘要：注意：本文版权所有，不得擅自转载 
泛型不仅能用来做容器，还能够提供代码复用的手段。在泛型的参与下，许多设计就可能更精妙，更具扩展性。今天我就来演示一个利用泛型增强的抽象工厂模式。我们知道，抽象工厂（Abstract Factory）模式是将工厂和产品全部抽象化，一个抽象工厂生成一组抽象产品，而一个具体工厂则生成具体产品的一个特定组合。它能够维持这种相关对象组合的一致性，并使得用户不需要了解工厂和产品的具体实现。传统的Abstract Factory主要弱点是类型依赖性强，可复用性弱。一个抽象工厂通常是...[&lt;a href=/ninputer/archive/2006/01/12/70313.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/70313.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/01/12/70313.aspx</guid>
            <pubDate>Thu, 12 Jan 2006 07:59:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/70313.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/01/12/70313.aspx#feedback</comments>
            <slash:comments>13</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/70313.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/70313.aspx</trackback:ping>
        </item>
        <item>
            <title>泛型技巧系列：如何提供类型参数之间的转换</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/01/08/70116.aspx</link>
            <description>摘要：从今天起，我将分享一些我在.NET泛型方面的研究心得。这些心得大都是我在设计VBF中思考发现的，还受了很多C++模板与JAVA泛型的启发。其中相当多的技巧和概念都是大部分“深入C# 2.0”类文章也见不到的。我考虑把其中概念性的部分系统地整理成书，而技巧性的东西则通过我这个系列不定期地分享到Blog上。希望用到.NET泛型的人能从我这些技巧中受益。
首先我要介绍的技巧是如何提供类型参数之间的转换。我们知道，.NET泛型将每个类型参数理解为一个独立的类型。如果不通过约束指定，编译器不会对类型参数所代表的类...[&lt;a href=/ninputer/archive/2006/01/08/70116.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/70116.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/01/08/70116.aspx</guid>
            <pubDate>Sun, 08 Jan 2006 11:55:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/70116.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/01/08/70116.aspx#feedback</comments>
            <slash:comments>11</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/70116.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/70116.aspx</trackback:ping>
        </item>
        <item>
            <title>动态调用对象的属性和方法——性能和灵活性兼备的方法</title>
            <category>技术随笔</category>
            <category>灵感记录</category>
            <link>http://blog.joycode.com/ninputer/archive/2006/01/08/70114.aspx</link>
            <description>摘要：在动态编程时，我们常常需要运行时确定调用对象的哪个属性或哪个方法。这个任务通常可以用反射来解决。但众所周知，反射的性能要比静态指定的方式低很多，因为反射要通过运行时复杂的机制完成。能否获得性能和灵活性兼备的动态调用？我在开发VBF的最新功能时反复考虑了这个问题。我们通常动态调用一个对象的属性是采用这样的手法，假设对象a有一个属性叫做MyProp：
Type t = a.GetType();PropertyInfo pi = t.GetProperty("MyProp");string value = (...[&lt;a href=/ninputer/archive/2006/01/08/70114.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/70114.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2006/01/08/70114.aspx</guid>
            <pubDate>Sun, 08 Jan 2006 07:45:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/70114.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2006/01/08/70114.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/70114.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/70114.aspx</trackback:ping>
        </item>
        <item>
            <title>手工打造运算符重载过程</title>
            <category>技术随笔</category>
            <category>灵感记录</category>
            <link>http://blog.joycode.com/ninputer/archive/2005/11/26/67829.aspx</link>
            <description>摘要：除了J#外，所有微软支持的.NET开发语言现在均支持运算符重载，因此纯粹为C#简化写法一样特性现已成为一种.NET开发中值得研究的一项重要语言特性。有人认为运算符重载其实就是简化写法，满足模拟基本类型操作的小功能，没有必要深究。但我觉得要多思考一层，为什么我们总希望模拟基本类型的操作？因为运算符重载能够将操作中缀化，能够自动推测静态过程的主体。
首先是操作中缀化。函数调用其实是一种前缀操作，函数（代表操作）总是在参数（代表操作数）之前写出。这样执行序列操作时运行的顺序其实和书写的顺序相反：
H(x，y...[&lt;a href=/ninputer/archive/2005/11/26/67829.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/67829.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2005/11/26/67829.aspx</guid>
            <pubDate>Sat, 26 Nov 2005 02:52:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/67829.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2005/11/26/67829.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/67829.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/67829.aspx</trackback:ping>
        </item>
        <item>
            <title>我的开源.NET函数式编程类库——VBF 1.0 BETA1发布</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2005/11/11/66840.aspx</link>
            <description>摘要：很早就开始VBF的设计，在经历开发和调整了两个月的时间后，VBF的第一个BETA版终于和大家见面了！我是从前一阶段博客园上较为流行的动态语言讨论上获得灵感。我主要不是想写一个动态语言，而是发现很多动态语言共有的特征——不同程度地支持函数式编程（Functional Programming，FP）。这是一种显著不同于命令式编程（目前的VB，和C#均为命令式编程语言，面向过程和面向对象也是命令式编程范式的扩展）的编程范式。它讲究组合、高阶函数和延迟计算。在纯粹的FP语言（Lisp, SML）可以不使用变量，函...[&lt;a href=/ninputer/archive/2005/11/11/66840.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/66840.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2005/11/11/66840.aspx</guid>
            <pubDate>Fri, 11 Nov 2005 00:50:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/66840.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2005/11/11/66840.aspx#feedback</comments>
            <slash:comments>16</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/66840.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/66840.aspx</trackback:ping>
        </item>
        <item>
            <title>.NET 2.0 泛型Quiz</title>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2005/11/02/66256.aspx</link>
            <description>摘要：.NET 2.0的泛型，是在何时进行建造（Construct）？编译器在何时知道泛型的类型参数，何时不知道？不妨先来思考一下这几个Quiz:
Quiz 1:写出以下代码的输出&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;class Program
...{
    static void Main(string[] args...[&lt;a href=/ninputer/archive/2005/11/02/66256.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/66256.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2005/11/02/66256.aspx</guid>
            <pubDate>Wed, 02 Nov 2005 13:23:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/66256.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2005/11/02/66256.aspx#feedback</comments>
            <slash:comments>19</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/66256.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/66256.aspx</trackback:ping>
        </item>
        <item>
            <title>探讨.NET 2.0中Tuple的实现方法</title>
            <category>技术随笔</category>
            <category>灵感记录</category>
            <link>http://blog.joycode.com/ninputer/archive/2005/10/19/65362.aspx</link>
            <description>摘要：我在介绍Visual Basic 9.0的时候，曾经多次提到Tuple这个概念，当时是作为匿名类型的实例出现的。现在我们单独来讨论一下这个概念。Tuple常常译为“组元”，在大部分支持Tuple的语言中，常常表示成员数目确定，每个成员类型也确定的结构。常常用于表示函数的多个返回值或者查询的结果等。Tuple应当是强类型的，即所有成员的类型在编译时确定。比如，假想语法下
Dim t = New Tuple(Of String, Integer, Double)
那么t将具有三个成员，该数目无法改变；同时...[&lt;a href=/ninputer/archive/2005/10/19/65362.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/65362.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2005/10/19/65362.aspx</guid>
            <pubDate>Wed, 19 Oct 2005 00:56:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/65362.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2005/10/19/65362.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/65362.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/65362.aspx</trackback:ping>
        </item>
        <item>
            <title>Visual Basic 9.0 前沿播报·动态篇（三）XML字面量和XML后期绑定啊</title>
            <category>Visual Basic 9.0 前沿播报</category>
            <category>技术随笔</category>
            <link>http://blog.joycode.com/ninputer/archive/2005/10/12/64944.aspx</link>
            <description>摘要：本期是Visual Basic 9.0前沿播报动态篇的第三篇，也是这个系列的完结篇。按照惯例，我将Visual Basic 9.0最激动人心的部分放在了这一篇。在这一篇，我们将看到所有新特性作用在XML上之后带来的革新性变化。
Visual Basic 9.0专门为XML集成设置了一个开发组，力求将XML语言与Visual Basic语言完全结合，使Visual Basic成为全行业对XML支持最佳的开发工具。这些新特性都基于微软的XLinq——新一代支持语言集成查询的XML框架。使用XLinq可以按照...[&lt;a href=/ninputer/archive/2005/10/12/64944.aspx&gt;阅读全文&lt;/a&gt;]&lt;img src="http://blog.joycode.com/ninputer/aggbug/64944.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ninputer</dc:creator>
            <guid>http://blog.joycode.com/ninputer/archive/2005/10/12/64944.aspx</guid>
            <pubDate>Wed, 12 Oct 2005 01:23:00 GMT</pubDate>
            <wfw:comment>http://blog.joycode.com/ninputer/comments/64944.aspx</wfw:comment>
            <comments>http://blog.joycode.com/ninputer/archive/2005/10/12/64944.aspx#feedback</comments>
            <slash:comments>13</slash:comments>
            <wfw:commentRss>http://blog.joycode.com/ninputer/comments/commentRss/64944.aspx</wfw:commentRss>
            <trackback:ping>http://blog.joycode.com/ninputer/services/trackbacks/64944.aspx</trackback:ping>
        </item>
    </channel>
</rss>