<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>aamironline.com</title>
	<atom:link href="http://aamironline.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://aamironline.com/blog</link>
	<description>My blog</description>
	<pubDate>Sat, 30 Aug 2008 13:01:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Let&#8217;s Dream</title>
		<link>http://aamironline.com/blog/2008/02/25/lets-dream.xml</link>
		<comments>http://aamironline.com/blog/2008/02/25/lets-dream.xml#comments</comments>
		<pubDate>Mon, 25 Feb 2008 04:52:56 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2008/02/25/lets-dream.xml</guid>
		<description><![CDATA[
When we think about dream first thought come to our mind is about the dream which we saw last night during the sleep. Isn’t it? Such dream appears during the night and vanishes as we get up in the morning. Title says let’s dream, that doesn’t mean, it’s provoking you to go to bed and [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>When we think about dream first thought come to our mind is about the dream which we saw last night during the sleep. Isn’t it? Such dream appears during the night and vanishes as we get up in the morning. Title says let’s dream, that doesn’t mean, it’s provoking you to go to bed and start dreaming, it denotes a kind of dream that can change one’s life. This is kind of dream that helps realize one’s successful future. Dream is a first step in visualizing ultimate goal. As you and I know many successful people have dreamt their success prior to its realization. It’s like a magic ball which let you foresee your successful future. </p>
<p>American author Napoleon Hill once rightly said, “A goal is a dream with a deadline”. If dream is not seen, goal is not set. If goal is not set, plan is not prepared. If plan is not prepared, it is not executed. And if execution is not taken place, one is indulged into activities which are of non important sort and time wasting and such activities could lead to procrastination in success path. </p>
<p>Seeing a dream and setting idle and dead doesn’t help realize it. I have heard saying someone, “Dream is not something which is seen during sleep, it is the one that takes sleep away from the person”. Some people just dreams, while others wake up and work hard to get it.</p>
<p>There are few questions associated with seeing dreams and setting goals. Should there be any limits? Does dream help us setting unrealistic goals and achieve it? Is it possible to do that? Famous lecturer Dale Carnegie once quoted, “We all have possibilities we don&#8217;t know about. We can do things we don&#8217;t even dream we can do.” Everyone is raised with particular background built up by society, parents, and school teachers and friends. Children are conveys messages like “Money doesn’t grow on trees” “Do not try to build Palace in the air” etc… One can develop skills or establish business which is like money growing tree. One can build palace in the Air provided along with the palace a way of reaching palace should also be developed. Remember: the word impossible itself says <em>I M POSSIBLE</em>. So don’t put limit or cap on your dreams. </p>
<p><strong>Just dream it. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2008/02/25/lets-dream.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Vote for Taj</title>
		<link>http://aamironline.com/blog/2007/07/01/vote-for-taj.xml</link>
		<comments>http://aamironline.com/blog/2007/07/01/vote-for-taj.xml#comments</comments>
		<pubDate>Sun, 01 Jul 2007 00:00:00 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/1999/11/30/vote-for-taj.xml</guid>
		<description><![CDATA[&#160;

&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
Because:

It is a beautiful gift of loving emperor to his queen. 
It is symbol of eternal love. 
It is one of the most magnificent and most beautiful monuments in the world. 
It represents marvelous symmetrical architecture of 16th century. 
Each and every piece of Taj Mahal is decorated by calligraphy, geometric crafts, plant motifs, and [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a href="http://aamironline.com/blog/wp-content/uploads/2007/07/windowslivewritervotefortaj-be29taj1.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 35px 0px 0px; border-right-width: 0px" height="369" src="http://aamironline.com/blog/wp-content/uploads/2007/07/windowslivewritervotefortaj-be29taj1-thumb.jpg" width="430" align="left" border="0" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><strong>Because:</strong></p>
<ol>
<li>It is a beautiful gift of loving emperor to his queen. </li>
<li>It is symbol of <em>eternal love.</em> </li>
<li>It is one of the most magnificent and most beautiful monuments in the world. </li>
<li>It represents marvelous symmetrical architecture of 16th century. </li>
<li>Each and every piece of Taj Mahal is decorated by calligraphy, geometric crafts, plant motifs, and other detailed exotic interior art. </li>
<li>It took to complete 22 year. Over 1000 elephants were used to transfer materials from distant parts of India, China, Afghanistan, Arabia and Sri Lanka. </li>
<li>28 types of precious and semi precious stones were ornamented to beautify the beauty. </li>
<li>It is well-maintained. </li>
<li>Its priceless. </li>
</ol>
<p><strong>If you too want to vote for Taj</strong>    <br />Click this URL:&#160; <a title="http://www.new7wonders.com/index.php?id=366" href="http://www.new7wonders.com/index.php?id=366">http://www.new7wonders.com/index.php?id=366</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2007/07/01/vote-for-taj.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>New release of Generics.Net is on the way</title>
		<link>http://aamironline.com/blog/2007/06/29/new-release-of-genericsnet-is-on-the-way.xml</link>
		<comments>http://aamironline.com/blog/2007/06/29/new-release-of-genericsnet-is-on-the-way.xml#comments</comments>
		<pubDate>Fri, 29 Jun 2007 11:21:15 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[Generics.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2007/06/29/new-release-of-genericsnet-is-on-the-way.xml</guid>
		<description><![CDATA[After its last release on October 16th 2006, I had received lots of&#160;email about library, its strength and its area of improvements, specially, the one prompting to kill the great G. Unfortunately I could only&#160;start working&#160;on improvements and suggestions some times ago,&#160;and&#160;fortunately its ready to&#160;be delivered anytime during&#160;next week :). It contains lots of new [...]]]></description>
			<content:encoded><![CDATA[<p>After its last release on October 16th 2006, I had received lots of&nbsp;email about library, its strength and its area of improvements, specially, the one prompting to kill the great G. Unfortunately I could only&nbsp;start working&nbsp;on improvements and suggestions some times ago,&nbsp;and&nbsp;fortunately its ready to&nbsp;be delivered anytime during&nbsp;next week :). It contains lots of new improvement, datastructure, algorithms&#8230; Great G prefix is no more. </p>
<p>By the way, don&#8217;t stop sending me suggestions, remember its yours and only yours library. </p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2007/06/29/new-release-of-genericsnet-is-on-the-way.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Wonderful Blog</title>
		<link>http://aamironline.com/blog/2007/03/15/wonderful-blog.xml</link>
		<comments>http://aamironline.com/blog/2007/03/15/wonderful-blog.xml#comments</comments>
		<pubDate>Thu, 15 Mar 2007 10:41:56 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2007/02/28/wonderful-blog.xml</guid>
		<description><![CDATA[I come across a very good blog. Its about an intern worked with Microsoft, Google and yahoo. Have a look&#8230;
http://tastyresearch.wordpress.com/work-stories/
]]></description>
			<content:encoded><![CDATA[<p>I come across a very good blog. Its about an intern worked with Microsoft, Google and yahoo. Have a look&#8230;</p>
<p><a href="http://tastyresearch.wordpress.com/work-stories/">http://tastyresearch.wordpress.com/work-stories/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2007/03/15/wonderful-blog.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Australia (9th Jan : 16th Feb 2007)</title>
		<link>http://aamironline.com/blog/2007/02/17/australia-9th-jan-16th-feb-2007-2.xml</link>
		<comments>http://aamironline.com/blog/2007/02/17/australia-9th-jan-16th-feb-2007-2.xml#comments</comments>
		<pubDate>Sat, 17 Feb 2007 11:55:57 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2007/02/17/australia-9th-jan-16th-feb-2007-2.xml</guid>
		<description><![CDATA[
 
 
 
 
 
 
 
 
 
 
9th January 2007, I headed my journey to Sydney, business capital of Australia and city of harbor. I spent for 39 days and spent wonderful time. During tour I could manage to visit many places in Sydney and Melbourne and met wonderful people. I noticed Aussie people are humble and friendly. Some of the things in Australia were similar [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aamironline.com/blog/wp-content/uploads/2007/04/windowslivewriterwonderfulsydney-ee2daustralia9.jpg"><img style="border-right: 0px; border-top: 0px; margin: 10px; border-left: 0px; border-bottom: 0px" src="http://aamironline.com/blog/wp-content/uploads/2007/04/windowslivewriterwonderfulsydney-ee2daustralia-thumb7.jpg" border="0" alt="" width="417" height="312" align="left" /></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>9th January 2007, I headed my journey to Sydney, business capital of Australia and city of harbor. I spent for 39 days and spent wonderful time. During tour I could manage to visit many places in Sydney and Melbourne and met wonderful people. I noticed Aussie people are humble and friendly. Some of the things in Australia were similar to those of in India. Those are&#8230;</p>
<ol>
<li><strong>Multicultural Society: </strong>Australia has multi-cultural society. People from about 200 countries have migrated to Australia, making Australia one of the most culturally diverse countries in the world. On the other side India too has got 28 states and 7 union territories, each with unique culture, identity. Most of the Indians are multilingual and multi cultural. And they feel proud to be part of such a nice country.</li>
<li><strong>26th January:</strong> India and Australia share common national day 26th of January. In the year 1808 - January 26th, The Rum Rebellion succeeds in taking control of the Australian government, Aussie celebrate that day as an Australia Day. On the same day in the year 1950 the Constitution of India comes into force, and India declares itself as a &#8220;Republic&#8221;, a date thereafter celebrated annually as Republic Day in India.</li>
<li><strong>Drives on Left: </strong>Like India, Australia is one of the few countries in the world that drives on the left. There is a history behind why some countries follows the British way of left side driving. <a href="http://www.2pass.co.uk/goodluck.htm" target="_blank">Click here to know more</a></li>
</ol>
<p>I know some of you might be expecting  my tour photos. Don&#8217;t be worried, I am going to put those snaps in the new section at <a href="http://www.aamirOnline.com">www.aamirOnline.com</a> called Gallery, which is coming soon, wait for that. </p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2007/02/17/australia-9th-jan-16th-feb-2007-2.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Understanding Interface</title>
		<link>http://aamironline.com/blog/2007/01/08/understanding-interface.xml</link>
		<comments>http://aamironline.com/blog/2007/01/08/understanding-interface.xml#comments</comments>
		<pubDate>Mon, 08 Jan 2007 09:50:34 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2007/01/08/understanding-interface.xml</guid>
		<description><![CDATA[According to definition, an Interface in a system is considered as a contract. Classes that implement the contract must adhere to its terms and conditions. Itâ€™s like a legal agreement where contractee (classes) which are bound by the contract and hence must implement each and every aspect of that exactly as it is outlined or defined.  From the implementation viewpoint this definition or perspective is good, however so far as designing is concern it doesnâ€™t help much. Itâ€™s very difficult for developer from a non object oriented programming background, to understand why has been a particular interface designed that way. They very well understand how to implement it, however canâ€™t think about incorporating ones own interface into application design.]]></description>
			<content:encoded><![CDATA[<div>
<div>According to definition, an Interface in a system is considered as a contract. Classes that implement the contract must adhere to its terms and conditions. Itâ€™s like a legal agreement where contractee (classes) which are bound by the contract and hence must implement each and every aspect of that exactly as it is outlined or defined.Â&nbsp; From theÂ&nbsp;implementation viewpoint this definition or perspective is good,Â&nbsp;however so far as designing is concern it doesn&#8217;t help much. It&#8217;s very difficult for <u>developer from a non object oriented programming background</u>, to understand why has beenÂ&nbsp;a particular interface designed that way. They very well understand how to implement it, however can&#8217;t think about incorporating ones own interface into application design. To prove that I asked following questions to many of such developers. And got expected answers. </div>
<div>
<ol>
<li><strong>Q: </strong>Do you know the interface concept in contemporary languages like C#, VB.Net or Java? <strong>A: </strong>Yes
<li><strong>Q: </strong>What is an interface? <strong>A: </strong>Interface is some thing, which only contains declaration of methods, properties. A class that implements an interface must implement it exactly as it is defined.
<li>
<div style="color: red"><strong>Q: </strong>Why can an interface only contain structure, not concrete code? <strong>« </strong>No Answer »</div>
<li><strong>Q: </strong>Have you implemented interfaces in your projects? <strong>A: </strong>Yes.
<li>
<div style="color: red"><strong>Q: </strong>Have you designed interfaces in your project? <strong>A: </strong>No, it was never required.</div>
</li>
</ol>
<p>See the answer to question number 3: most of the developer doesn&#8217;t even know why an interface can not contain concrete code. If you are among such developer, don&#8217;t worry, you will understand it why. Question number 5 reveals that many developers in reality never ever create a single interface in their software development career on their own. In other words it is non-utilization of most important feature of the modern languages. <strong>Changing Perspective</strong> Let me ask you few questions which will eventually help in understanding of interfaces. You may find them silly and weird! But please try to answer them for a moment.
<ol>
<li>Why don&#8217;t you call a car, a bike?
<li>What is the reason that, you do not consider a monkey as an elephant?
<li>Why do you think that fish can not fly? </li>
</ol>
<p>You very well know the answers to these questions, right? Questions are different but answer is common, that every object questioned here has some characteristics, qualities and properties. They have their way of performing some action. For example: We can not call a car a bike because we know the structure of the bike somewhere in our mind, unlike cars; bikes are motor vehicle with two wheels and instead of driven, it&#8217;s ridden. We can not consider a monkey as an elephant because we know that monkey has different qualities and attributes then those of elephant. Same way we know that fish can not fly because fish is an aquatic animal which characteristically having fins, gills, and a streamlined body. Fish can&#8217;t have organs to fly. Flying is a quality of birds. I am repeating this again; every object has some quality, attributes and characteristics. They have their own way to operate something, perform actions and they know how to communicate and interact with other objects. Combining all these attitude, attributes, qualities, characteristics, communicating and operating way et cetera defines an object.<strong> And definition or classification of object is an interface</strong>. Â&nbsp;Please notice, I have used two words to define an interface: Definition and Classification. Â&nbsp;Lets consider following example.<br />
<blockquote>
<p>ICar&nbsp; <br />&#8211; Toyota Corolla <br />&#8211; Mercedes Benz</p>
</blockquote>
<p>Here Toyota Corolla and Mercedes Benz both implements an interface called ICar. So by considering interface as a definition: I can say Toyota Corolla and Mercedes Benz are ICar and they have all the attribute and qualities which fulfills the requirements to be an ICar. By considering interface as a classification I can say: ICar is a category. Toyota Corolla and Mercedes falls into category of an ICar because they satisfy all the characteristics and operational methods required to be considered as an ICar. Other way round, if any of the ICar, Toyota Corolla or Mercedes Benz would not be considered as ICar if they had not satisfied requirements to become an ICar. Non technically manufacturer of these ICar must put all the attributes and features in their respective cars to be considered or classified as an ICar. Technically developer of class ToyotaCorolla and MercedesBenz must implement an interface ICar to be considered these class as an ICar, failing to do so will result in compile time error. I hope you not have got the basic understanding interface as what exactly it is&#8217; Next article will put some more highlight on interfaces.&nbsp;</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2007/01/08/understanding-interface.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>An Interface: From Different Perspectives - Part1</title>
		<link>http://aamironline.com/blog/2006/12/17/interface-from-different-perspectives-part1.xml</link>
		<comments>http://aamironline.com/blog/2006/12/17/interface-from-different-perspectives-part1.xml#comments</comments>
		<pubDate>Sun, 17 Dec 2006 20:20:32 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2006/12/17/interface-from-different-perspectives-part1.xml</guid>
		<description><![CDATA[Introduction
There are many developers who design and develop programs using object oriented languages like, C#, Java, VB.Net. These software professionals who might have got very good theoretical knowledge of Object Oriented Programing Elements like Encapsulation, Polymorphism, Inheritance, Abstraction etc. However they fail creating well designed applications or systems. They failÂ  on different aspects. One of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>There are many developers who design and develop programs using object oriented languages like, C#, Java, VB.Net. These software professionals who might have got very good theoretical knowledge of Object Oriented Programing Elements like Encapsulation, Polymorphism, Inheritance, Abstraction etc. However they fail creating well designed applications or systems. They failÂ  on different aspects. One of such aspect, which is very difficult for to integrate into their designs, is effectively incorporating interfaces into design.</p>
<p>This is a multipart series which will help understand the concept of interfaces from the different perspective. Next article will be discussing about envisioning and understanding of interfaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2006/12/17/interface-from-different-perspectives-part1.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;G&#8221; a Matter of Concern</title>
		<link>http://aamironline.com/blog/2006/11/18/g-a-matter-of-concern.xml</link>
		<comments>http://aamironline.com/blog/2006/11/18/g-a-matter-of-concern.xml#comments</comments>
		<pubDate>Sat, 18 Nov 2006 03:06:43 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[Generics.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2006/11/18/g-a-matter-of-concern.xml</guid>
		<description><![CDATA[Thanx a lot folks for giving a good response to Generics.Net. Despite being tagged as a well designed library I have got one common concern about &#8220;G&#8221; charater, which was prefixed to classes in the library. Putting a &#8220;G&#8221; prior to class names was considered as non compliant to CLS (Common Language Specification) standards. This [...]]]></description>
			<content:encoded><![CDATA[<p>Thanx a lot folks for giving a good response to <a target="_blank" title="Generics.Net" href="http://www.codeplex.com/genericsnet">Generics.Net</a>. Despite being tagged as a well designed library I have got one common concern about &#8220;G&#8221; charater, which was prefixed to classes in the library. Putting a &#8220;G&#8221; prior to class names was considered as non compliant to CLS (Common Language Specification) standards. This concern by the user of library prompted me to find link between CLS compliences and prefix on class names. As a result of that, I made assembly CLS compliant (Pros of concern), executed with FxCope rules&#8230; But considered not guilty :). Then I realized that may be &#8220;G&#8221; is not giving that flexibility to library user. So I decided to clean up class names by stripping off &#8220;G&#8221; Prefix&#8230; And finally Generics.Net got cleaned up&#8230;</p>
<p>New release will have no &#8220;G&#8221; attached type names&#8230;. <img src='http://aamironline.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2006/11/18/g-a-matter-of-concern.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Recursive call with anonymous function</title>
		<link>http://aamironline.com/blog/2006/10/29/recursive-call-with-anonymous-function.xml</link>
		<comments>http://aamironline.com/blog/2006/10/29/recursive-call-with-anonymous-function.xml#comments</comments>
		<pubDate>Sun, 29 Oct 2006 20:00:49 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2006/10/29/recursive-call-with-anonymous-function.xml</guid>
		<description><![CDATA[
Whether you want to generate a dynamic function, write a dynamic algorithm or want to handle delegate inline, anonymous functions have always been at your service. However one area where in anonymous function lacking is, making a recursive call. Since it does not have function signature itâ€™s not possible to make recursive call, at lease [...]]]></description>
			<content:encoded><![CDATA[<div>
<div align="justify">Whether you want to generate a dynamic function, write a dynamic algorithm or want to handle delegate inline, anonymous functions have always been at your service. However one area where in anonymous function lacking is, making a recursive call. Since it does not have function signature itâ€™s not possible to make recursive call, at lease not directly. This entry shows you how to achieve that by utilizing some reflection API. Yes reflection, itâ€™s always been there as your lifeguard ;).</div>
<div>
<div align="left">Â&nbsp;Â&nbsp;Â&nbsp; To understand the concept lets first create a simple recursive function to find a triangle.</div>
<div>
<div class="code"><strong>Code: </strong><font color="#0000ff">public int </font><font color="#000000">Triangle(</font><font color="#0000ff">int </font><font color="#000000">n) <br />{<br />&nbsp;&nbsp; </font><font color="#0000ff">return </font><font color="#000000">(n</font><font color="#0000ff">==</font><font color="#800000">1</font><font color="#000000">) ? </font><font color="#800000">1 </font><font color="#000000">: n + <strong>Triangle(n-</strong></font><strong><font color="#800000">1</font><font color="#000000">)</font></strong><font color="#0000ff">; <br /></font><font color="#000000">}</font></div>
<div>Now we will use anonymous function to find a triangle. Please notice the code. It performs following steps to achive recursion.</div>
<div>
<ol>
<li>First finds the current performing method using top frame in the StackTrace.
<li>And then invokes it. </li>
</ol>
</div>
<div>
<div>
<div class="code"><strong>Code: <br /></strong><font color="#0000ff">public delegate int </font><font color="#000000">TriangleDelegate(</font><font color="#0000ff">int </font><font color="#000000">n);&nbsp; <font color="#0000ff">public static int </font><font color="#000000">AnonymousMethodTriangle(</font><font color="#0000ff">int </font>n) <br />{<br />&nbsp;&nbsp; TriangleDelegate triangle <font color="#0000ff">= delegate</font><font color="#000000">(</font><font color="#0000ff">int </font><font color="#000000">n)<br />&nbsp;&nbsp; {<br />&nbsp;&nbsp; &nbsp;&nbsp; <span style="color: #006633">//Find Method</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MethodBase method =<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; </font><font color="#0000ff">new </font><font color="#000000">StackTrace().GetFrame(</font><font color="#800000">0</font><font color="#000000">).GetMethod();<br /></font><font color="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return </font><font color="#000000">(n </font><font color="#0000ff">== </font><font color="#800000">1</font><font color="#000000">) ? </font><font color="#800000">1 </font><font color="#000000">: n +<br />&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; (</font><font color="#0000ff">int</font><font color="#000000">)method.Invoke(</font><font color="#0000ff">null</font><font color="#000000">,</font><font color="#0000ff">new object</font><font color="#000000">[]<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {n-</font><font color="#800000">1</font><font color="#000000">})</font><font color="#0000ff">;</font><font color="#0000ff"><span style="color: #006633">//Invoke Method</span><br /></font><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;}</font><font color="#0000ff">;<br />&nbsp;&nbsp;&nbsp;&nbsp;return </font>triangle(n)<font color="#0000ff">;</font><br />}</font></div>
<div><font color="#000000">Pretty simple huh&#8230;.</font></div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2006/10/29/recursive-call-with-anonymous-function.xml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Generics.Net 0.2.0 out</title>
		<link>http://aamironline.com/blog/2006/10/16/genericsnet-020-out.xml</link>
		<comments>http://aamironline.com/blog/2006/10/16/genericsnet-020-out.xml#comments</comments>
		<pubDate>Mon, 16 Oct 2006 18:40:20 +0000</pubDate>
		<dc:creator>Aamir</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[Generics.Net]]></category>

		<guid isPermaLink="false">http://aamironline.com/blog/2006/10/16/genericsnet-020-out.xml</guid>
		<description><![CDATA[
Verions 0.2.0 alpha of generics.net is out which contains following new stackÂ oriented stuffs.

IGStack : Represents the interface for stack in generics.net.
GLinkedStack : Represents a linked list based stack.
GSynchronizedStack : A proxy stack class which makesÂ IGStackÂ basedÂ objectÂ synchronized.


]]></description>
			<content:encoded><![CDATA[<div>
<div>Verions 0.2.0 alpha of generics.net is out which contains following new stackÂ oriented stuffs.</div>
<ul>
<li>IGStack : Represents the interface for stack in generics.net.</li>
<li>GLinkedStack : Represents a linked list based stack.</li>
<li>GSynchronizedStack : A proxy stack class which makesÂ IGStackÂ basedÂ objectÂ synchronized.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://aamironline.com/blog/2006/10/16/genericsnet-020-out.xml/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
