<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-4500363753981919783.post7951973709697858365..comments</id><updated>2023-10-03T22:06:50.708+08:00</updated><title type='text'>Comments on Huan-Lin 學習筆記: C# 筆記:擴充方法</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.huanlintalk.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><author><name>Michael Tsai</name><uri>http://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-876774671686509107</id><published>2009-11-26T15:13:36.064+08:00</published><updated>2009-11-26T15:13:36.064+08:00</updated><title type='text'>我是還沒有想過要寫泛型的文章,也許最近有空時,嘗試寫點泛型的入門文章看看吧 :)</title><content type='html'>我是還沒有想過要寫泛型的文章,也許最近有空時,嘗試寫點泛型的入門文章看看吧 :)</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/876774671686509107'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/876774671686509107'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html?showComment=1259219616064#c876774671686509107' title=''/><author><name>Michael Tsai</name><uri>https://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-7951973709697858365' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/7951973709697858365' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1825873726"/><gd:extendedProperty name="blogger.displayTime" value="2009/11/26 下午3:13"/></entry><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-5270757065006696807</id><published>2009-11-26T15:05:01.531+08:00</published><updated>2009-11-26T15:05:01.531+08:00</updated><title type='text'>Michael,&#xa;謝謝回覆,所以二者最大區別應該是有沒有類別原始碼囉?&#xa;原來看完文章只是在想好像二者...</title><content type='html'>Michael,&lt;br /&gt;謝謝回覆,所以二者最大區別應該是有沒有類別原始碼囉?&lt;br /&gt;原來看完文章只是在想好像二者好像可以達到相同功能,雖然還是有目的上的不同!不過你再說明,我就更清楚了,謝謝!&lt;br /&gt;&lt;br /&gt;另不知會不會分享有關泛型的內容呢?看你消化過的文字,比較容易吸收呢.XD</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/5270757065006696807'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/5270757065006696807'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html?showComment=1259219101531#c5270757065006696807' title=''/><author><name>dan0605</name><uri>https://www.blogger.com/profile/04081384702201880449</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnVmMTWZGZuDertoFeI7whsgzW9gzeJVMKqG9IxDAapPRwm-N97H1XVNbALumt1wMbBM8bYOiFXj5mRoGLGiK6luxC5mcnICBZNLfCg1xMj98WzfbOYg2DOXArP1ab4A/s220/littleM8.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-7951973709697858365' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/7951973709697858365' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1169571085"/><gd:extendedProperty name="blogger.displayTime" value="2009/11/26 下午3:05"/></entry><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-9147927477924548439</id><published>2009-11-25T13:43:04.200+08:00</published><updated>2009-11-25T13:43:04.200+08:00</updated><title type='text'>Hi Dan0605,&#xa;擴充方法可以在沒有類別原始碼的情況下,為類別增加 methods。&#xa;Part...</title><content type='html'>Hi Dan0605,&lt;br /&gt;擴充方法可以在沒有類別原始碼的情況下,為類別增加 methods。&lt;br /&gt;Partial class 則通常是你自己撰寫的程式碼,主要就是讓你把一個類別的程式碼分開放在不同的檔案裡。也許那個類別很複雜,為了易讀和維護,你選擇把某些 methods/properties 放到另一個檔案裡面。又或者,像 Visual Studio 這類工具,因為會產生類別的基本框架程式碼,為了避免程式設計師動到這些工具產生的 code,就把這些 code 獨立出去,放在不同的檔案裡。使用 partial class 並不會導致類別或物件更大,或更占記憶體。</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/9147927477924548439'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/9147927477924548439'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html?showComment=1259127784200#c9147927477924548439' title=''/><author><name>Michael Tsai</name><uri>https://www.blogger.com/profile/00364693770445538641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-7951973709697858365' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/7951973709697858365' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1825873726"/><gd:extendedProperty name="blogger.displayTime" value="2009/11/25 下午1:43"/></entry><entry><id>tag:blogger.com,1999:blog-4500363753981919783.post-6217969256578058076</id><published>2009-11-24T10:34:41.519+08:00</published><updated>2009-11-24T10:34:41.519+08:00</updated><title type='text'>您好:&#xa;    問個笨問題,不知這種擴充方法,跟所謂的partial class的區別為何呢?是說如...</title><content type='html'>您好:&lt;br /&gt;    問個笨問題,不知這種擴充方法,跟所謂的partial class的區別為何呢?是說如果用partial class會讓實際的類別或物件變大(更佔記憶體)呢? 謝謝!</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/6217969256578058076'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/4500363753981919783/7951973709697858365/comments/default/6217969256578058076'/><link rel='alternate' type='text/html' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html?showComment=1259030081519#c6217969256578058076' title=''/><author><name>dan0605</name><uri>https://www.blogger.com/profile/04081384702201880449</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnVmMTWZGZuDertoFeI7whsgzW9gzeJVMKqG9IxDAapPRwm-N97H1XVNbALumt1wMbBM8bYOiFXj5mRoGLGiK6luxC5mcnICBZNLfCg1xMj98WzfbOYg2DOXArP1ab4A/s220/littleM8.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.huanlintalk.com/2009/01/csharp-3-extension-methods.html' ref='tag:blogger.com,1999:blog-4500363753981919783.post-7951973709697858365' source='http://www.blogger.com/feeds/4500363753981919783/posts/default/7951973709697858365' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1169571085"/><gd:extendedProperty name="blogger.displayTime" value="2009/11/24 上午10:34"/></entry></feed>