<?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/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;C0EBRHkzfyp7ImA9WhdWFUQ.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231</id><updated>2011-09-09T23:37:35.787+05:30</updated><title>Funny Truths &amp; Much More</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;CkQMSHs_eyp7ImA9WhdWFE8.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-3935584358972709211</id><published>2011-08-18T22:24:00.003+05:30</published><updated>2011-09-08T00:03:09.543+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-08T00:03:09.543+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='INDIA'/><category scheme='http://www.blogger.com/atom/ns#' term='Bravery'/><category scheme='http://www.blogger.com/atom/ns#' term='NATION'/><title>Go INDIANS !!!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: center;"&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Live for our &lt;strong&gt;nation&lt;/strong&gt;! Show that we still have &lt;strong&gt;love &lt;/strong&gt;for your country .We can do it.We have power to fight for freedom ,then we can also get rid of CORRUPTION from our country .Its we people who are supposed to throw it out form our Heart,form our Country and from INDIA.Let go together in support of &lt;em&gt;Anna Hazare &lt;/em&gt;to achieve victory in terms of non corruption at all.Take an oath that we will not get tired till we achieve it .&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The way we throw out Britishers ,the same way we can do the same with Corruption and people supporting corruption .So come up from your home ,do protest with non-violence and ask for &lt;strong&gt;Jan Lok Pal&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*************JAI HIND*********&lt;/div&gt;
&lt;script src="http://platform.twitter.com/widgets.js" type="text/javascript"&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;a class="twitter-share-button" href="http://twitter.com/share"&gt;Tweet&lt;/a&gt;&lt;br /&gt;
&lt;script src="http://connect.facebook.net/en_US/all.js#xfbml=1"&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;a href="http://www.amazon.com/Kindle-Globally-Graphite-Display-Technology/dp/B004HZYA6E?ie=UTF8&amp;amp;tag=widgetsamazon-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Kindle 3G, Free 3G + Wi-Fi, 3G Works Globally, Graphite, 6" Display with New E Ink Pearl Technology - includes Special Offers &amp;amp; Sponsored Screensavers&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=widgetsamazon-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B004HZYA6E" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /&gt;
&lt;fb:like&gt;&lt;/fb:like&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-3935584358972709211?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/3935584358972709211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/08/go-indians.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/3935584358972709211?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/3935584358972709211?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/08/go-indians.html' title='Go INDIANS !!!'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkACQnY8eCp7ImA9WhZVFUQ.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-5152679916372550525</id><published>2011-05-28T19:20:00.001+05:30</published><updated>2011-05-28T19:22:43.870+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-05-28T19:22:43.870+05:30</app:edited><title>Click and Earn  Money .</title><content type='html'>&lt;a&gt;http://www.PaisaLive.com/register.asp?1632173-210228.1 &lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
click over this link and  start earning money&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-5152679916372550525?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/5152679916372550525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/05/click-and-earn-money.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/5152679916372550525?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/5152679916372550525?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/05/click-and-earn-money.html' title='Click and Earn  Money .'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEAMR384cCp7ImA9WhZXEUo.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-8486376155285042454</id><published>2011-04-30T19:43:00.000+05:30</published><updated>2011-04-30T19:43:06.138+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-04-30T19:43:06.138+05:30</app:edited><title>Amazing GoOgLe TRickS</title><content type='html'>1. Google gravity&lt;br /&gt;
Open google.com, Type Google Gravity in the search box and click on I’m feeling Lucky button.Feel the effect of gravity on google. All page components will fall down due to gravity.&lt;br /&gt;
2. Epic Google&lt;br /&gt;
Open google.com, Type Epic Google in the search box and click on I’m feeling Lucky button. Each component on the page will start growing bigger and bigger.&lt;br /&gt;
3. Google Hacker&lt;br /&gt;
Open google.com, Type Google Hacker in the search box and click on I’m feeling Lucky button. How google will look if it was made by a hacker.&lt;br /&gt;
4. Annoying Google&lt;br /&gt;
Open google.com, Type Annoying Google in the search box and click on I’m feeling Lucky button.&lt;br /&gt;
5. Meaning Of Search For Google&lt;br /&gt;
Open google.com, Type search in the search box and click on I’m feeling Lucky button.&lt;br /&gt;
6. Loneliest Number&lt;br /&gt;
Open google.com, Type loneliest number in the search box and click on Search button. Find out which number is the loneliest number according to google.&lt;br /&gt;
7. Meaning Of Recursion&lt;br /&gt;
Open google.com, Type Recursion in the search box and click on search button. You can notice Did You Mean: Recursion text on top of results and it is recursively linked to the same page.&lt;br /&gt;
8. Google Loco&lt;br /&gt;
Open google.com, Type Google loco in the search box and click on I’m feeling Lucky button.&lt;br /&gt;
9. The number of horns on a unicorn&lt;br /&gt;
Open google.com, Type number of horns on a unicorn in the search box and click on search button.&lt;br /&gt;
10. Chuck Norris&lt;br /&gt;
Open google.com, Type Find Chuck Norris in the search box and click on I’m feeling Lucky button. Google won’t search for Chuck Norris because it knows you don’t find Chuck Norris, he finds you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-8486376155285042454?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/8486376155285042454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/04/amazing-google-tricks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8486376155285042454?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8486376155285042454?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/04/amazing-google-tricks.html' title='Amazing GoOgLe TRickS'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0ECRno9eyp7ImA9WhdWFUU.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-792910402046704924</id><published>2011-03-19T15:50:00.003+05:30</published><updated>2011-09-09T23:04:27.463+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-09T23:04:27.463+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='tere bin'/><title>Tere bin ....</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Without You &lt;br /&gt;
&lt;br /&gt;
Without you, how did I live like this? &lt;br /&gt;
How did I live without you? &lt;br /&gt;
Without you, how did I live like this? &lt;br /&gt;
How did I live without you? &lt;br /&gt;
With your memories,my nights passed - 2 &lt;br /&gt;
The moonlight talks to me about you &lt;br /&gt;
My nights are lonely with out you &lt;br /&gt;
My days aren't like days &lt;br /&gt;
Lonely body, lonely soul, my eyes stay wet &lt;br /&gt;
Come by me now &lt;br /&gt;
I Don't want to live without you Without you, how did I live like this? &lt;br /&gt;
How did I live without you? &lt;br /&gt;
Without you, how did I live like this? &lt;br /&gt;
How did I live without you? &lt;br /&gt;
Since when are my eyes layed in your path? &lt;br /&gt;
Atleast let me meet you somewhere accidently &lt;br /&gt;
I can't forget your words &lt;br /&gt;
My eyes are wet every second &lt;br /&gt;
Why should I breath? Why should I live? &lt;br /&gt;
Living feels bad &lt;br /&gt;
Why did you become unfaithful, tell me the reason &lt;br /&gt;
Without you, how did I live like this? &lt;br /&gt;
How did I live without you... &lt;br /&gt;
Without you, how did I live like this? &lt;br /&gt;
How did I live without you...&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; color: #84b320; font-family: Arial, sans-serif; font-size: 20px;"&gt;You can not beat a good euphonious&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-792910402046704924?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/792910402046704924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/tere-bin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/792910402046704924?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/792910402046704924?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/tere-bin.html' title='Tere bin ....'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C08CSH84cCp7ImA9WhZTEkQ.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-890785004670175984</id><published>2011-03-16T21:41:00.001+05:30</published><updated>2011-03-16T21:41:09.138+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-16T21:41:09.138+05:30</app:edited><title>Commonly Used Phrases at the Office</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
Commonly Used Phrases at the Office and what they really mean!&lt;br /&gt;
&lt;br /&gt;
1. For your information, please. (FYI)&lt;br /&gt;
Meaning: I don't know what to do with this, so please keep it.&lt;br /&gt;
&lt;br /&gt;
2. Noted and returned.&lt;br /&gt;
Meaning: I don't know what to do with this, so please keep it little while.&lt;br /&gt;
&lt;br /&gt;
3. Review and comment.&lt;br /&gt;
Meaning: Do the dirty work so that I can forward it.&lt;br /&gt;
&lt;br /&gt;
4. Action please.&lt;br /&gt;
Meaning: Get yourself involved for me. Don't worry, I'll claim the credit.&lt;br /&gt;
&lt;br /&gt;
5. For your necessary action.&lt;br /&gt;
Meaning: It's your headache now.&lt;br /&gt;
&lt;br /&gt;
6. Copy to.&lt;br /&gt;
Meaning: Here's a share of my headache.&lt;br /&gt;
&lt;br /&gt;
7. For your approval, please.&lt;br /&gt;
Meaning: Put your neck on the chopping board for me please.&lt;br /&gt;
&lt;br /&gt;
8. Action is being taken.&lt;br /&gt;
Meaning: Your correspondence is lost and I am trying to locate it.&lt;br /&gt;
&lt;br /&gt;
9. Your letter is receiving our attention.&lt;br /&gt;
Meaning: I am trying to figure out what you want.&lt;br /&gt;
&lt;br /&gt;
10. Please discuss.&lt;br /&gt;
Meaning: I don't know what the hell this is, so please brief me.&lt;br /&gt;
&lt;br /&gt;
11. For your immediate action.&lt;br /&gt;
Meaning: Do it NOW! Or I will get into serious trouble.&lt;br /&gt;
&lt;br /&gt;
12. Please reply soon.&lt;br /&gt;
Meaning: Please be efficient. It makes me look inefficient.&lt;br /&gt;
&lt;br /&gt;
13. We are investigating/ processing your request with the relevant authorities.&lt;br /&gt;
Meaning: They are causing the delay, not us.&lt;br /&gt;
&lt;br /&gt;
14. Regards.&lt;br /&gt;
Meaning: Thanks and bless you for reading all the crap.&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-890785004670175984?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/890785004670175984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/commonly-used-phrases-at-office.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/890785004670175984?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/890785004670175984?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/commonly-used-phrases-at-office.html' title='Commonly Used Phrases at the Office'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkcHSXw-eCp7ImA9Wx9aE0k.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-7875636063959765540</id><published>2011-03-05T23:30:00.000+05:30</published><updated>2011-03-05T23:30:38.250+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-05T23:30:38.250+05:30</app:edited><title>My true Friends</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A Best Friend knows you from&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; past,your all sorrows and&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fears,also he wipes out your tears&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remove your fears,&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; very close and very dear.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; again very near and also my dear,&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; his views are sharp and very clear&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for the very &amp;nbsp;future near&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A best friend is harder to find&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;amp;&amp;nbsp;UNFORGETTABLE&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Vinil&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-7875636063959765540?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/7875636063959765540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/my-true-friends.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7875636063959765540?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7875636063959765540?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/my-true-friends.html' title='My true Friends'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEQEQ3c5cCp7ImA9Wx9aE04.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-2162387637998477229</id><published>2011-03-05T19:08:00.000+05:30</published><updated>2011-03-05T19:08:22.928+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-05T19:08:22.928+05:30</app:edited><title>Google Analytics Tutorial 1: Setup</title><content type='html'>&lt;iframe width="425" height="344" src="http://www.youtube.com/embed/MYLyrOZSPGg?fs=1" frameborder="0" allowfullscreen=""&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-2162387637998477229?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/2162387637998477229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/google-analytics-tutorial-1-setup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/2162387637998477229?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/2162387637998477229?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/google-analytics-tutorial-1-setup.html' title='Google Analytics Tutorial 1: Setup'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/MYLyrOZSPGg/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0ICQHo4eSp7ImA9Wx9aE00.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-4591516880606338502</id><published>2011-03-05T12:49:00.001+05:30</published><updated>2011-03-05T12:49:21.431+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-05T12:49:21.431+05:30</app:edited><title>TAX is More Than INCOME!!!!!!!1</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
Question 1.. : What are you doing?&lt;br /&gt;
Ans. : Business.&lt;br /&gt;
Tax : PAY PROFESSIONAL TAX!&lt;br /&gt;
&lt;br /&gt;
Question 2 : What are you doing in Business?&lt;br /&gt;
Ans. : Selling the Goods.&lt;br /&gt;
Tax : PAY SALES TAX!&lt;br /&gt;
&lt;br /&gt;
Question 3 : From where are you getting Goods?&lt;br /&gt;
Ans. : From other State/Abroad&lt;br /&gt;
Tax : PAY CENTRAL SALES TAX, CUSTOM DUTY &amp;amp; OCTROI&lt;br /&gt;
&lt;br /&gt;
Question 4 : What are you getting in Selling Goods?&lt;br /&gt;
Ans. : Profit.&lt;br /&gt;
Tax : PAY INCOME TAX!&lt;br /&gt;
&lt;br /&gt;
Question 5: How do you distribute profit ?&lt;br /&gt;
Ans : By way of dividend&lt;br /&gt;
Tax : PAY DIVIDEND DISTRIBUTION TAX&lt;br /&gt;
&lt;br /&gt;
Question 6 : Where you Manufacturing the Goods?&lt;br /&gt;
Ans. : Factory...&lt;br /&gt;
Tax : PAY EXCISE DUTY!&lt;br /&gt;
&lt;br /&gt;
Question 7 : Do you have Office / Warehouse / Factory?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY MUNICIPAL &amp;amp; FIRE TAX!&lt;br /&gt;
&lt;br /&gt;
Question 8 : Do you have Staff?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY STAFF PROFESSIONAL TAX!&lt;br /&gt;
&lt;br /&gt;
Question 9 : Doing business in Millions?&lt;br /&gt;
Ans. : Yes -- Tax : PAY TURNOVER TAX!&lt;br /&gt;
Ans : No -- Tax : Then pay Minimum Alternate Tax&lt;br /&gt;
&lt;br /&gt;
Question 10 : Are you taking out over 25,000 Cash from Bank?&lt;br /&gt;
Ans. : Yes, for Salary.&lt;br /&gt;
Tax : PAY CASH HANDLING TAX!&lt;br /&gt;
&lt;br /&gt;
Question 11 : Where are you taking your client for Lunch &amp;amp; Dinner?&lt;br /&gt;
Ans. : Hotel&lt;br /&gt;
Tax : PAY FOOD &amp;amp; ENTERTAINMENT TAX&lt;br /&gt;
&lt;br /&gt;
Question 12 : Are you going Out of Station for Business?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY FRINGE BENEFIT TAX&lt;br /&gt;
&lt;br /&gt;
Question 13 : Have you taken or given any Services?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY SERVICE TAX&lt;br /&gt;
&lt;br /&gt;
Question 14 : How come you got such a Big Amount?&lt;br /&gt;
Ans. : Gift on birthday.&lt;br /&gt;
Tax : PAY GIFT TAX&lt;br /&gt;
&lt;br /&gt;
Question 15.: Do you have any Wealth?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY WEALTH TAX&lt;br /&gt;
&lt;br /&gt;
Question 16 : To reduce Tension, for entertainment, where are you going?&lt;br /&gt;
Ans. : Cinema or Resort.&lt;br /&gt;
Tax : PAY ENTERTAINMENT TAX&lt;br /&gt;
&lt;br /&gt;
Question 17 : Have you purchased House?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY STAMP DUTY &amp;amp; REGISTRATION FEE&lt;br /&gt;
&lt;br /&gt;
Question 18 : How you Travel?&lt;br /&gt;
Ans. : Bus&lt;br /&gt;
Tax : PAY SURCHARGE&lt;br /&gt;
&lt;br /&gt;
Question 19.: Any Additional Tax?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY EDUCATIONAL, ADDITIONAL EDUCATIONAL &amp;amp; SURCHARGE ON ALL THE CENTRAL GOVT.'s TAX&lt;br /&gt;
&lt;br /&gt;
Question 20: Delayed any time Paying Any Tax?&lt;br /&gt;
Ans. : Yes&lt;br /&gt;
Tax : PAY INTEREST &amp;amp; PENALTY&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-4591516880606338502?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/4591516880606338502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/tax-is-more-than-income1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/4591516880606338502?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/4591516880606338502?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/03/tax-is-more-than-income1.html' title='TAX is More Than INCOME!!!!!!!1'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEAMSXo9fyp7ImA9Wx9bGUw.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-7502635659928827720</id><published>2011-02-28T23:43:00.001+05:30</published><updated>2011-02-28T23:43:08.467+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-28T23:43:08.467+05:30</app:edited><title>A visit To Mosque</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Huh !!!What a&amp;nbsp;fantastic&amp;nbsp;Day.I had to go to ajmer alone for some purpose.I went their alone .I reached their at 1 And within half an hour I reached my destination point which is in same street of DARGAH of KHWAJA .I go to shop where i had to go and then went out towards Dargah.I I bent my head in front of&amp;nbsp;Dargah,outside it and started moving towards the bus station.but my &lt;i&gt;mann&lt;/i&gt; was saying to go to&amp;nbsp;Dargah&amp;nbsp;once in a while.I kept going &amp;nbsp;towards bus station.Suddenly i go inside a shop and asked for a cold drink.Fortunately that shop keeper was also&amp;nbsp;Jain.So didn't&amp;nbsp;hesitate&amp;nbsp;to ask him how to go to&amp;nbsp;Dargah.i mean where to put shoes and what to take inside &amp;nbsp;etc.and then my legs move towards the Great&amp;nbsp;Dargah.i reached their in 15 minutes.Then i opened my shoes in near by shop and&amp;nbsp;purchased&amp;nbsp;flowers(only thing to take inside for&amp;nbsp;Dargah).Then i went inside the&amp;nbsp;Dargah.AN awsm feel in my heart and &lt;i&gt;mann&lt;/i&gt;.It seems like whole world is outside and and i am here in the world of peace under the shed of&amp;nbsp;&amp;nbsp;GOD.I went on &amp;nbsp;their by asking &amp;nbsp;few people as where to go for.They help me.Finally i reached at the gate of KHWAJA Sharif.I was late.It was time not to allow any person inside main&amp;nbsp;Dargah for next 1 hour.But fortunately we were allowed to go inside.I went inside.And I can't express the peace of mind and heart at that time.I was feeling so goood and calm that words are seeming less to describe my situation.I put my head down their and pray for the best of three relations which gives life to me and also for the whole world.Then i came out and with other people .then after i found &amp;nbsp;lots of things ,shops &amp;nbsp;all round.Few tombs and a well was their.I went near the well .I couldn't understand what was that actually.Soon I came outside the&amp;nbsp;Dargah praying for the welfare of humanity and all living creatures over earth and everywhere.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-7502635659928827720?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/7502635659928827720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/visit-to-mosque.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7502635659928827720?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7502635659928827720?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/visit-to-mosque.html' title='A visit To Mosque'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0IEQng6fyp7ImA9Wx9bFUo.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-228554887660319140</id><published>2011-02-24T23:48:00.000+05:30</published><updated>2011-02-24T23:48:23.617+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-24T23:48:23.617+05:30</app:edited><title>Java prgramming-Month Name in java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;b&gt;import java.util.Calendar;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;public class Month {&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;/**&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt; * @param args&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt; */&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;public static void main(String[] args) {&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;b&gt;// TODO Auto-generated method stub&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;String months[]={"January","February","March","April","May","June","July","August","September","Octomber","November","December"};&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;b&gt;Calendar cal =Calendar.getInstance();&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;b&gt;String month=months[cal.get(Calendar.MONTH)];&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;b&gt;System.out.println("month is "+month);&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-228554887660319140?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/228554887660319140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/java-prgramming-month-name-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/228554887660319140?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/228554887660319140?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/java-prgramming-month-name-in-java.html' title='Java prgramming-Month Name in java'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ck8ESHszeip7ImA9Wx9bFUo.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-252497522953915614</id><published>2011-02-24T23:36:00.000+05:30</published><updated>2011-02-24T23:36:49.582+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-24T23:36:49.582+05:30</app:edited><title>Calendar in java</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;import java.util.Calendar;&lt;br /&gt;
public class Calendar_1&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] argv)&lt;br /&gt;
{&lt;br /&gt;
Calendar cal = Caleendar.getInstance();&lt;br /&gt;
System.out.println("Year "+cal.get(Calendar.YEAR));&lt;br /&gt;
System.out.println("Month "+cal.get(Calendar.MONTH));&lt;br /&gt;
System.out.println("Day "+cal.get(Calendar.DAY_OF_WEEK));&lt;br /&gt;
System.out.println("Week "+cal.get(Calendar.WEEK_OF-MONTH));&lt;br /&gt;
System.out.println("hour "+cal.get(Calendar.HOUR_OF_DAY));&lt;br /&gt;
System.out.println("Minute"+cal.get(Calendar.MINUTE_OF_DAY));&lt;br /&gt;
System.out.println("Seconds "+cal.get(Calendar.SECOND_OF_DAY));&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;b&gt;Result will be:&lt;/b&gt;&lt;br /&gt;
Year 2011&lt;br /&gt;
Month&lt;br /&gt;
Day 55&lt;br /&gt;
Day of Week 24&lt;br /&gt;
Week of month 4&lt;br /&gt;
Hour 23&lt;br /&gt;
Minute 36&lt;br /&gt;
Second 45&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-252497522953915614?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/252497522953915614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/calendar-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/252497522953915614?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/252497522953915614?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/calendar-in-java.html' title='Calendar in java'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0INSXsyfCp7ImA9Wx9bFUs.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-7780063517502954014</id><published>2011-02-24T23:16:00.000+05:30</published><updated>2011-02-24T23:16:38.594+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-24T23:16:38.594+05:30</app:edited><title>Programming in Java-Get memory</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;public class Memory{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;public static void main(String args[])&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;System.out.println("total Memory is "+Runtime.getRuntime.totalMemory());&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;System.out.println("freeMemory is "+Runtime.getRuntime.freelMemory());&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;System.out.println("maximum Memory is "+Runtime.getRuntime.maxMemory());&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;output will be:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;total memory is 5177344&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;free memory is 4996952&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;maximum memory is 66620112&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-7780063517502954014?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/7780063517502954014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/programming-in-java-get-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7780063517502954014?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7780063517502954014?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/programming-in-java-get-memory.html' title='Programming in Java-Get memory'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0MGSHc_fSp7ImA9Wx9bFUs.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-8612004992239002659</id><published>2011-02-24T22:07:00.001+05:30</published><updated>2011-02-24T22:07:09.945+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-24T22:07:09.945+05:30</app:edited><title>Code in Java to Get Host name</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;import java.io;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;import java.net;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;public class GetHost{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;public static void main(String args[])&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;try{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;InetAddress addr=Inetaddress.getLocalHost();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;byte[] ipaddr=addr.getAddress();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;String hostName=addr.getHostname();&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;System.out.println("HostName="+hostName);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;catch(UnknowHostException e)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-8612004992239002659?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/8612004992239002659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/code-in-java-to-get-host-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8612004992239002659?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8612004992239002659?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/code-in-java-to-get-host-name.html' title='Code in Java to Get Host name'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkYDRn08eip7ImA9Wx9bEU0.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-6765964210527488815</id><published>2011-02-19T12:52:00.000+05:30</published><updated>2011-02-19T12:52:57.372+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-19T12:52:57.372+05:30</app:edited><title>Funny  Programming Quotes</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px;"&gt;1 “The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargil&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: 12px; line-height: 17px;"&gt;2&amp;nbsp;“In order to understand recursion, one must first understand recursion.” – Author Unknown&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;3&amp;nbsp;“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.” – Bjarne Stroustrup&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;4&amp;nbsp;“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila.” – Mitch Ratcliffe&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;5&amp;nbsp;“There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -C.A.R. Hoare&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;6&amp;nbsp;“The gap between theory and practice is not as wide in theory as it is in practice.” – Author Unknown&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;7&amp;nbsp;“If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.” – Gerald Weinberg&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;8&amp;nbsp;“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” – Edsger Dijkstra&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;9“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.” – Bill Gates&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;10&amp;nbsp;“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” – Rich Cook&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;11&amp;nbsp;“There are two major products that come out of Berkeley: LSD and UNIX. We don’t believe this to be a coincidence.” – Jeremy S. Anderson&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;12&amp;nbsp;“Before software can be reusable it first has to be usable.” – Ralph Johnson&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #555555; font-family: Verdana, 'BitStream vera Sans', Helvetica, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 17px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-6765964210527488815?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/6765964210527488815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/funny-programming-quotes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/6765964210527488815?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/6765964210527488815?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/funny-programming-quotes.html' title='Funny  Programming Quotes'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CU4ERHk4fyp7ImA9Wx9UGUs.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-4372369452049195750</id><published>2011-02-17T23:01:00.000+05:30</published><updated>2011-02-17T23:01:45.737+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-17T23:01:45.737+05:30</app:edited><title>Tips For Interviews</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;I have appeared 4 times in technical interviews and almost cleared two of them.nd Here are some tips &amp;nbsp;to follow during an interview:&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;1.Be calm and confident.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;2.Give respect to interviewer&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;3.Dont give wrong answer intentionally.Say i Dont know if you really Dont know the correct answer.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;4.Dont feel nervous in front of him/her.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;5&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #741b47;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;i&gt;.Give your introduction in ENGLISH fluently.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: white; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;i&gt;LLlaL&lt;span class="Apple-style-span" style="background-color: #6aa84f;"&gt;ater on i will continue to share my personal experiences with you people .&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: white; font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="background-color: #6aa84f;"&gt;Best of Luck!!!&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-4372369452049195750?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/4372369452049195750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/tips-for-interviews.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/4372369452049195750?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/4372369452049195750?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/tips-for-interviews.html' title='Tips For Interviews'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUUCR34-eyp7ImA9Wx9VFks.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-7746077594233497359</id><published>2011-02-02T21:44:00.001+05:30</published><updated>2011-02-02T21:44:26.053+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-02-02T21:44:26.053+05:30</app:edited><title>Few Golden Sentense</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Times, arial; font-size: 18px; line-height: 27px;"&gt;] Prayer is not a "spare wheel" that you pull out when in trouble; it is a "steering wheel" that directs us in the right path throughout life.&lt;br /&gt;
&lt;br /&gt;
2] Do you know why a car's WINDSHIELD is so large &amp;amp; the rear view mirror is so small? Because our PAST is not as important as our FUTURE. So, look ahead and move on.&lt;br /&gt;
&lt;br /&gt;
3] Friendship is like a BOOK. It takes few seconds to burn, but it takes years to write.&lt;br /&gt;
&lt;br /&gt;
4] Allthings in life are temporary. If going is well enjoy it, they will not last forever. If going is wrong don’t worry, they can't last long either.&lt;br /&gt;
&lt;br /&gt;
5] Old friends are like Gold! New friends are Diamonds! If you get a Diamond, don't forget the Gold! Because to hold a Diamond, you always need a base of Gold!&lt;br /&gt;
&lt;br /&gt;
6] Often when we lose hope and think this is the end, GOD smiles from above and says, "Relax, sweetheart, it's just a bend, not the end!&lt;br /&gt;
&lt;br /&gt;
7] When GOD solves your problems, you have faith in HIS abilities; when GOD doesn't solve your problems HE has faith in your abilities.&lt;br /&gt;
&lt;br /&gt;
8] A blindperson asked St. Anthony: "Can there be anything worse than losing eye sight?" He replied: "Yes, losing your vision."&lt;br /&gt;
&lt;br /&gt;
9] When you pray for others, God listens to you and blesses them; and sometimes, when you are safe and happy, remember that someone has prayed for you.&lt;br /&gt;
&lt;br /&gt;
10] WORRYING does not take away tomorrow's TROUBLES; it takes away today’s PEACE.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-7746077594233497359?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/7746077594233497359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/few-golden-sentense.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7746077594233497359?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7746077594233497359?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/02/few-golden-sentense.html' title='Few Golden Sentense'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0cHQno5cSp7ImA9Wx9VE0Q.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-2504932655269506587</id><published>2011-01-30T19:13:00.000+05:30</published><updated>2011-01-30T19:13:53.429+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-30T19:13:53.429+05:30</app:edited><title>Windows AZURE</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;img alt="Windows Azure Platform" src="http://www.microsoft.com/global/windowsazure/PublishingImages/windows-azure-platform-headline.gif" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #353535; font-family: 'Segoe UI', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;"&gt;Building out an infrastructure that supports your web service or application can be expensive, complicated and time consuming. Forecasting the highest possible demand. Building out the network to support your peak times. Getting the right servers in place at the right time, managing and maintaining the systems.&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;br style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;Or you could look to the Microsoft cloud.&amp;nbsp;&lt;b style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The Windows Azure platform is a flexible cloud–computing platform that lets you focus on solving business problems and addressing customer needs.&lt;/b&gt;&amp;nbsp;No need to invest upfront on expensive infrastructure. Pay only for what you use, scale up when you need capacity and pull it back when you don’t. We handle all the patches and maintenance — all in a secure environment with over 99.9% uptime.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-2504932655269506587?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/2504932655269506587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/windows-azure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/2504932655269506587?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/2504932655269506587?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/windows-azure.html' title='Windows AZURE'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkECQHY9eip7ImA9Wx9VE0w.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-8033924468829628935</id><published>2011-01-29T22:01:00.000+05:30</published><updated>2011-01-29T22:01:01.862+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-29T22:01:01.862+05:30</app:edited><title>Silverlight-</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;img src="http://www.insideria.com/upload/2009/07/silverlight3.jpg" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Verdana; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h1 id="h1.1" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;An Overview of Silverlight&lt;/h1&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Silverlight enables development of the next generation of Microsoft .NET-based media experiences and rich interactive applications (RIAs) for the Web. Silverlight is delivered as a cross-platform and cross-browser plug-in that exposes a programming framework and features that are a subset of the .NET Framework and Windows Presentation Foundation (WPF).&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/div&gt;&lt;h1 id="h1.2" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The .NET Framework&lt;/h1&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Microsoft introduced the .NET Framework in 2000 as a new approach to software development. The .NET Framework borrowed ideas from the best practices in the software industry as well as brought new ideas to the table in an effort to meet developer needs and requests.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Virtually all programming languages manage data at some point. The primary reason that communication between applications created using C++, Visual Basic, Visual FoxPro, and other languages was difficult was because each language stored data being managed in a unique set of data types. For example, an integer in one language may not represent an integer in another language. Data needed to be converted to common data types to communicate between languages.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The .NET Framework introduced a common set of data types (the Common Type System) that is used by all .NET-compliant languages (C++, Visual Basic, C#, etc). Thus all languages can easily intercommunicate.&amp;nbsp;&lt;span id="fnMSIL" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" xmlns="http://www.w3.org/1999/xhtml"&gt;Furthermore, all .NET-compliant languages render a common result when compiling code, Microsoft Intermediate Language (MSIL).&lt;/span&gt;&amp;nbsp;&lt;a class="FootnoteLink" href="http://www.learn-silverlight-tutorial.com/#fnfnMSIL" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(see footnote)&lt;/a&gt;&amp;nbsp;MSIL can be deployed to any platform running the Common Language Runtime (CLR). Currently, the CLR is only available for Microsoft Windows although an open source version of the CLR was created for Linux (called the&amp;nbsp;&lt;a href="http://mono-project.com/" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" xmlns="http://www.w3.org/1999/xhtml"&gt;Mono Project&lt;/a&gt;). Code written by using the .NET Framework is compiled instead of interpreted resulting in much better performance than Java and competing technologies.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Microsoft took the Web development industry by storm with their .NET upgrade to ASP. ASP.NET put a new face on Web development through a compiled code architecture and improved state management and it provides access to the full functionality of the .NET Framework. ASP.NET is built around XML, supports the latest Web development standards, and allows for the creation of advanced Web Services.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The .NET Framework also provides improved data access and database integration through ADO.NET. For more information, see&amp;nbsp;&lt;a href="http://msdn.microsoft.com/netframework" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" xmlns="http://www.w3.org/1999/xhtml"&gt;MSDN&lt;/a&gt;.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;There are many more features and benefits of the .NET Framework than those mentioned here. The .NET Framework has become the leading software development environment available.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/div&gt;&lt;h1 id="h1.3" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Introducing Silverlight&lt;/h1&gt;&lt;h2 id="h2.1" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;What's New in the .NET Framework&lt;/h2&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;As of the writing of this course, version 3.5 of the .NET Framework has been released. Version 3.5 includes features that encompass all facets of Windows, Web, and network development:&lt;/div&gt;&lt;ul style="margin-bottom: 0px; margin-left: 1.6em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Includes just under 10,000 classes, methods, and properties.&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Complies with the latest Web development standards.&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Introduces revolutionary technologies used in Windows Vista development, rich media and user experiences, workflow management, security and authorization, and complete distributed communication protocols.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The .NET Framework can also be fully extended by developers to create custom classes and types. The functionality of the .NET Framework spans the server, the workstation, and the Web. The four primary additions to the .NET Framework as of version 3.0 are:&lt;/div&gt;&lt;ol style="margin-bottom: 0px; margin-left: 1.6em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows Presentation Foundation (WPF)&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows Communication Foundation (WCF)&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Windows Workflow Foundation (WF)&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;CardSpace&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;h2 id="h2.3" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Silverlight Architecture&lt;/h2&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Unlike ASP.NET, the bulk of Silverlight processing occurs on the client machine thus decreasing server resource utilization and improving the Web experience on the client. The figure below shows the difference between ASP.NET processing and Silverlight processing:&lt;img alt="" class="BlockImage" src="http://www.learn-silverlight-tutorial.com/Images/WISASPNETCompare.gif" style="display: block; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;When a client initially attempts to run a Silverlight application, if the Silverlight plug-in has not been installed on the client machine, it will be downloaded and installed. Upon subsequent requests to run the application, the application will instantiate on the client machine and make requests for resources from the server only when necessary. The Silverlight plug-in can be thought of as a scaled-down version of the full .NET Framework. It only contains those classes and functionality that are applicable to a Silverlight Web client and those were streamlined and optimized for use on the Web client machine.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Silverlight was designed using the same design paradigm as ASP.NET. Each page of a Silverlight application includes an associated code behind file that includes the code that handles events fired by the page. Silverlight resembles WPF in that it uses Extensible Application Markup Language (XAML) to construct the user interface (presentation layer). As Silverlight applications are composed of text-based files that include markup and code, they can be created using any text editor; however, more advanced tools and development environments such as Visual Studio or Expression Blend simplify the task significantly.&lt;/div&gt;&lt;h2 id="h2.4" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Silverlight Technologies&lt;/h2&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Version 1.0 of Silverlight used JavaScript and supported the industry-leading Windows Media Services enabling delivery of audio and video that includes 2D and vector graphics.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Version 2 includes all features of version 1.0 and:&lt;/div&gt;&lt;ul style="margin-bottom: 0px; margin-left: 1.6em; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;support for the .NET Framework.&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;support for .NET-compliant programming languages such as C#, Visual Basic, Python, and Ruby.&lt;/li&gt;
&lt;li style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;support for database operations and language-integrated query (LINQ).&lt;/li&gt;
&lt;/ul&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The figure below illustrates the major differences between version 1.0 and version 2:&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;img src="http://www.learn-silverlight-tutorial.com/Images/WISArchitecture.gif" /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Further information regarding SilverLight :&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The Microsoft Silverlight deployment guide can be downloaded at&lt;a href="http://download.microsoft.com/download/7/8/d/78da8ec9-8801-42e5-89e5-3809386f1316/Silverlight%20Deployment%20Guide.doc" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" xmlns="http://www.w3.org/1999/xhtml"&gt;http://download.microsoft.com/download/7/8/d/78da8ec9-8801-42e5-89e5-3809386f1316/Silverlight%20Deployment%20Guide.doc&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-8033924468829628935?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/8033924468829628935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/silverlight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8033924468829628935?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8033924468829628935?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/silverlight.html' title='Silverlight-'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0EMSHc6fip7ImA9Wx9WGEU.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-1803844049333850843</id><published>2011-01-24T22:51:00.000+05:30</published><updated>2011-01-24T22:51:29.916+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-24T22:51:29.916+05:30</app:edited><title>Fobiaaaaa Type and their meanings</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt;&amp;nbsp;'&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Hippopotomonstrosesquippedaliophobia&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt;' is the fear of long words.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana;"&gt;Didaskaleinophobia&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt; is the fear of going to school.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana;"&gt;Phobatrivaphobia&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt; is a fear of trivia about&amp;nbsp;&lt;span class="IL_AD" id="IL_AD6" style="background-attachment: scroll !important; background-clip: initial !important; background-color: transparent !important; background-image: none !important; background-origin: initial !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 0, 255) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 0, 255) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: Verdana !important; font-size: 13px !important; font-style: normal !important; font-weight: normal !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; text-decoration: underline !important;"&gt;phobias&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;Ablutophobia - Fear of washing or bathing.&lt;br /&gt;
Acarophobia - Fear of itching or of the insects that cause itching.&lt;br /&gt;
Acerophobia - Fear of sourness.&lt;br /&gt;
Achluophobia - Fear of darkness.&lt;br /&gt;
Acousticophobia - Fear of noise.&lt;br /&gt;
Aeroacrophobia - Fear of open high places.&lt;br /&gt;
Aeronausiphobia - Fear of vomiting secondary to airsickness.&lt;br /&gt;
Aerophobia - Fear of drafts, air swallowing, or airborne noxious substances.&lt;br /&gt;
Agliophobia - Fear of pain.&lt;br /&gt;
Agoraphobia - Fear of open spaces or of being in crowded, public places like markets. Fear of leaving a safe place. Fear of crowds.&lt;br /&gt;
Agraphobia - Fear of sexual abuse.&lt;br /&gt;
Agrizoophobia - Fear of wild animals.&lt;br /&gt;
Agyrophobia - Fear of streets or crossing the street.&lt;br /&gt;
Aichmophobia - Fear of needles or pointed objects.&lt;br /&gt;
Ailurophobia - Fear of cats.&lt;br /&gt;
Albuminurophobia - Fear of kidney disease.&lt;br /&gt;
Alektorophobia - Fear of chickens.&lt;br /&gt;
Algophobia - Fear of pain.&lt;br /&gt;
Alliumphobia - Fear of garlic.&lt;br /&gt;
Allodoxaphobia - Fear of opinions.&lt;br /&gt;
Altophobia - Fear of heights.&lt;br /&gt;
Amathophobia - Fear of dust.&lt;br /&gt;
Amaxophobia - Fear of riding in a car.&lt;br /&gt;
Ambulophobia - Fear of walking.&lt;br /&gt;
Amnesiphobia - Fear of amnesia.&lt;br /&gt;
Amychophobia - Fear of scratches or being scratched.&lt;br /&gt;
Anablephobia - Fear of looking up.&lt;br /&gt;
Ancraophobia - Fear of wind.&lt;br /&gt;
Androphobia - Fear of men.&lt;br /&gt;
Anemophobia - Fear of air drafts or wind.&lt;br /&gt;
Anemophobia - Fear of wind.&lt;br /&gt;
Anginophobia - Fear of angina, choking of narrowness.&lt;br /&gt;
Anglophobia - Fear of England, English culture, ect.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;Angrophobia - Fear of becoming angry.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-1803844049333850843?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/1803844049333850843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/fobiaaaaa-type-and-their-meanings.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/1803844049333850843?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/1803844049333850843?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/fobiaaaaa-type-and-their-meanings.html' title='Fobiaaaaa Type and their meanings'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEYGQXw6fSp7ImA9Wx9WGEU.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-700926414537765475</id><published>2011-01-24T21:52:00.000+05:30</published><updated>2011-01-24T21:52:00.215+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-24T21:52:00.215+05:30</app:edited><title>Best practices in developing ASP.NET applications</title><content type='html'>&lt;a href="http://www.codeproject.com/Tips/148180/Best-practices-in-developing-ASP-NET-applications.aspx#alternate1"&gt;Best practices in developing ASP.NET applications &lt;/a&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; "&gt;&lt;ol&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Remove unused &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;private &lt;/code&gt;fields and functions.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Do not cast unnecessarily. Avoid duplicate casts where possible, since there is a cost associated with them.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Properties that return arrays are prone to code inefficiencies. Consider using a collection or making this a method.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;To test for empty &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;string&lt;/code&gt;s, check if &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;String.Length &lt;/code&gt;is equal to zero. Constructs such as &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;"".Equals(someString)&lt;/code&gt; and &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;String.Empty.Equals(someString)&lt;/code&gt; are less efficient than testing the &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;string &lt;/code&gt;length. Replace these with checks for&lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;someString.Length == 0&lt;/code&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Methods in the same type that differ only by return type can be difficult for developers and tools to properly recognize. When extending a type, be sure not to define new methods that differ from base type methods only by type.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;stringbuilder &lt;/code&gt;instead of &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;string &lt;/code&gt;types for &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;string &lt;/code&gt;manipulation.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;String.Format &lt;/code&gt;instead of concatenating and appending &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;string&lt;/code&gt;s.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Type.TryParse &lt;/code&gt;rather than &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Convert.ToDestinationType()&lt;/code&gt;. For example, use&lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;int.TryParse()&lt;/code&gt; rather than &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Convert.ToInt32() &lt;/code&gt;which might throw an exception.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Override &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Equals()&lt;/code&gt; method wherever applicable in your classes.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Consider passing base types as parameters - Using base types as parameters to methods improves re-use of these methods if you only use methods &amp;amp; properties from the parameter's base class. E.g. use &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Stream &lt;/code&gt;instead of &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;FileStream &lt;/code&gt;as a parameter when only calling &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Stream.Read()&lt;/code&gt;, this makes the method work on all kind of &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;stream&lt;/code&gt;s instead of just File streams.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Do not catch general exception types - You should not catch &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;Exception &lt;/code&gt;or&lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;SystemException&lt;/code&gt;. Catching generic exception types can hide run-time problems from the library user, and can complicate debugging. You should catch only those exceptions that you can handle gracefully.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use properties instead of visible instance fields.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Follow the same naming conventions accross the solution.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Remove unwanted commented code, indent code properly.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use curly braces with in an &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;if &lt;/code&gt;statement, even if there is a single statement in the &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;if&lt;/code&gt;block. This will provide better readability.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Make sure to refactor your code to move the duplicated code to common reusable functions.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Move one time control settings into the &lt;i&gt;.aspx &lt;/i&gt;page rather than having them in the code behind in &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;if(!IsPostback)&lt;/code&gt; block.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use inheritance wherever possible, which enables code reuse and also reduces the amount of code we have to write and test.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Move the reusable JavaScript functions to an external &lt;i&gt;.js &lt;/i&gt;file instead of having them on the page.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;For controls that are declaratively specified on the page, tie the event handlers to the controls events on the aspx page rather than initializing them in the codebehind. If the controls are built dynamically, then we do not have a choice.&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Make sure to check for &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;null&lt;/code&gt;s when using any type retrieved from a session, querystring or a database to avoid &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;NullReferenceExceptions&lt;/code&gt;.&lt;/li&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em; "&gt;Use &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;foreach &lt;/code&gt;loop instead of using &lt;code style="color: rgb(153, 0, 0); font: normal normal normal 11pt/normal 'Courier New', Courier, mono; "&gt;for &lt;/code&gt;loop which may lead to out of boundary run time exceptions.&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-700926414537765475?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.codeproject.com/Tips/148180/Best-practices-in-developing-ASP-NET-applications.aspx#alternate1' title='Best practices in developing ASP.NET applications'/><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/700926414537765475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/best-practices-in-developing-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/700926414537765475?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/700926414537765475?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/best-practices-in-developing-aspnet.html' title='Best practices in developing ASP.NET applications'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0cMRHszeCp7ImA9Wx9WGEU.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-1230289654176499970</id><published>2011-01-24T21:49:00.000+05:30</published><updated>2011-01-24T22:41:25.580+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-24T22:41:25.580+05:30</app:edited><title>Visualization and Comparison of sorting algorithms in in C#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;img alt="Screen.jpg" src="http://www.codeproject.com/KB/recipes/SortVisualization/Screen.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif; font-size: 13pt;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="color: black; font-family: Verdana, sans-serif; font-size: 10pt;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;The first thing I consider to be most important to understand is what sorting algorithms are. According to Wikipedia, the sorting algorithm is algorithm that puts elements of a list in a certain order. The most-used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the use of other algorithms (such as search and merge algorithms) that require sorted lists to work correctly; it is also often useful for canonicalizing data and for producing human-readable output.&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color: black; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 115%;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;In this article I will describe some sorting algorithms. All algorithms presented here have been written in C# and a lot of ideas are based on algorithms you can find on&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;span style="color: #004cd5; font-family: Verdana, sans-serif; font-size: 10pt; line-height: 115%;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;span style="font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif; font-size: 13pt;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;Sorting algorithms&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;Bubble Sort&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;img alt="Bubble_Sort.gif" src="http://www.codeproject.com/KB/recipes/SortVisualization/Bubble_Sort.gif" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 16px;"&gt;Bubble sort, also known as sinking sort, is a simple sorting algorithm that works by repeatedly stepping through the list to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. The algorithm gets its name from the way smaller elements "bubble" to the top of the list. Because it only uses comparisons to operate on elements, it is a comparison sort. The equally simple insertion sort has better performance than bubble sort, so some have suggested no longer teaching the bubble sort.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;"&gt;&lt;b&gt;&lt;span style="color: #ff9900; font-family: Verdana, sans-serif;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Verdana, Arial, sans-serif; font-size: 13px; font-weight: normal; line-height: 16px;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;b&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;pre id="pre3" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;public&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; IList BubbleSort(IList arrayToSort)
{
    &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;int&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; n = arrayToSort.Count - &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;1&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;;
    &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;for&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; (&lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;int&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; i = &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;0&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;; i &amp;lt; n; i++)
    {

        &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;for&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; (&lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;int&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; j = n; j &amp;gt; i; j--)
        {
            &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;if&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; (((IComparable)arrayToSort[j - &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;1&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;]).CompareTo(arrayToSort[j]) &amp;gt; &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;0&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;)
            {
                &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;object&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; temp = arrayToSort[j - &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;1&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;];
                arrayToSort[j - &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;1&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;] = arrayToSort[j];
                arrayToSort[j] = temp;
                RedrawItem(j);
                RedrawItem(j - &lt;/a&gt;&lt;span class="code-digit" style="color: navy;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;1&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;);
                pnlSamples.Refresh();
                &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;if&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; (chkCreateAnimation.Checked)
                    SavePicture();
            }
        }
    }
    &lt;/a&gt;&lt;span class="code-keyword" style="color: blue;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;return&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt; arrayToSort;
}&lt;/a&gt;&lt;/pre&gt;&lt;/b&gt;&lt;b&gt;&lt;pre id="pre3" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;a href="http://www.blogger.com/goog_428180697"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;BiDirectional Bubble Sort&lt;/h3&gt;&lt;div&gt;&lt;img alt="BiDirectional_Bubble_Sort.gif" src="http://www.codeproject.com/KB/recipes/SortVisualization/BiDirectional_Bubble_Sort.gif" /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/goog_428180694"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;
&lt;div style="background: #FBEDBB; border: solid #FBEDBB 1.0pt; mso-border-alt: solid #FBEDBB .75pt; mso-element: para-border-div; padding: 5.0pt 5.0pt 5.0pt 5.0pt;"&gt;

&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;public&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; IList CombSort(IList arrayToSort)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; gap = arrayToSort.Count;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;do&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;gap = (&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)(gap / &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;.&lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;247330950103979&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (gap &amp;lt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;gap = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; i = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;do&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;
(((IComparable)arrayToSort[i]).CompareTo(arrayToSort[i + gap]) &amp;gt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;object&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; temp = arrayToSort[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[i] = arrayToSort[i + gap];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[i + gap] = temp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(i + gap);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;pnlSamples.Refresh();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (chkCreateAnimation.Checked)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;SavePicture();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;while&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (!(i + gap &amp;gt;= arrayToSort.Count));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;while&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (!(gap == &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &amp;amp;&amp;amp; swaps == &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;return&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; arrayToSort;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background: #FBEDBB; border: solid #FBEDBB 1.0pt; mso-border-alt: solid #FBEDBB .75pt; mso-element: para-border-div; padding: 5.0pt 5.0pt 5.0pt 5.0pt;"&gt;

&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;public&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; IList CombSort(IList arrayToSort)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; gap = arrayToSort.Count;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;do&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;gap = (&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)(gap / &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;.&lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;247330950103979&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (gap &amp;lt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;gap = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; i = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;do&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;
(((IComparable)arrayToSort[i]).CompareTo(arrayToSort[i + gap]) &amp;gt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;object&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; temp = arrayToSort[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[i] = arrayToSort[i + gap];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[i + gap] = temp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(i);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(i + gap);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;pnlSamples.Refresh();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (chkCreateAnimation.Checked)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;SavePicture();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;swaps = &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;i++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;while&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (!(i + gap &amp;gt;= arrayToSort.Count));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;while&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (!(gap == &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; &amp;amp;&amp;amp; swaps == &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;return&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; arrayToSort;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;Cocktail sort, also known as bidirectional bubble sort, cocktail
shaker sort, shaker sort (which can also refer to a variant of selection sort),
ripple sort, shuttle sort or happy hour sort, is a variation of bubble sort
that is both a stable sorting algorithm and a comparison sort. The algorithm
differs from bubble sort in that it sorts in both directions on each pass
through the list. This sorting algorithm is only marginally more difficult to
implement than bubble sort, and solves the problem with so-called turtles in
bubble sort.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: 14.4pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="color: black; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;The first rightward pass will shift the largest element to its
correct place at the end, and the following leftward pass will shift the
smallest element to its correct place at the beginning. The second complete
pass will shift the second largest and second smallest elements to their
correct places, and so on. After i passes, the first i and the last i elements
in the list are in their correct positions, and do not need to be checked. By
shortening the part of the list that is sorted each time, the number of
operations can be halved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre4" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;div style="background: #FBEDBB; border: solid #FBEDBB 1.0pt; mso-border-alt: solid #FBEDBB .75pt; mso-element: para-border-div; padding: 5.0pt 5.0pt 5.0pt 5.0pt;"&gt;

&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;public&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; IList BiDerectionalBubleSort(IList arrayToSort) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; limit = arrayToSort.Count;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; st = -1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;bool&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; swapped = &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;false&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;do&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;swapped = &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;false&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;st++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;limit--;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;for&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; j = st; j &amp;lt; limit; j++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;
(((IComparable)arrayToSort[j]).CompareTo(arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;]) &amp;gt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;object&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; temp = arrayToSort[j];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[j] = arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;] =
temp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;swapped = &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;true&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;pnlSamples.Refresh();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;(chkCreateAnimation.Checked)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;SavePicture();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;for&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;int&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; j = limit - &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;; j &amp;gt;= st; j--)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;
(((IComparable)arrayToSort[j]).CompareTo(arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;]) &amp;gt; &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;0&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;object&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; temp = arrayToSort[j];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[j] = arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;arrayToSort[j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;] =
temp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;swapped = &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;true&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(j);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;RedrawItem(j + &lt;/span&gt;&lt;span lang="CS" style="color: navy; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;1&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;pnlSamples.Refresh();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;if&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (chkCreateAnimation.Checked)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;SavePicture();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;while&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; (st &amp;lt; limit &amp;amp;&amp;amp; swapped);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang="CS" style="color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;return&lt;/span&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt; arrayToSort;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background: #FBEDBB; border: none; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #FBEDBB .75pt; mso-padding-alt: 5.0pt 5.0pt 5.0pt 5.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"&gt;&lt;span lang="CS" style="color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.0pt; mso-ansi-language: CS; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/span&gt;
&lt;pre id="pre4" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BiDirectionalBubbleSort" style="color: #004cd5;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Bucket Sort&lt;/h3&gt;&lt;/a&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Bucket sort, or bin sort, is a sorting algorithm that works by partitioning an array into a number of buckets. Each bucket is then sorted individually, either using a different sorting algorithm, or by recursively applying the bucket sorting algorithm. It is a distribution sort, and is a cousin of radix sort in the most to least significant digit flavour. Bucket sort is a generalization of pigeonhole sort. Since bucket sort is not a comparison sort, the O(n log n) lower bound is inapplicable. The computational complexity estimates involve the number of buckets.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Bucket sort works as follows:&lt;/div&gt;&lt;/span&gt;&lt;/a&gt;
&lt;ul&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Set up an array of initially empty "buckets."&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Scatter: Go over the original array, putting each object in its bucket.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Sort each non-empty bucket.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Gather: Visit the buckets in order and put all elements back into the original array.&lt;/li&gt;
&lt;/a&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;pre id="pre5" land="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList BucketSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (arrayToSort == null || arrayToSort.Count == &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;) &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;

    object max = arrayToSort[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;];
    object min = arrayToSort[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;];


    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; arrayToSort.Count; i++)
    {

        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[i]).CompareTo(max) &lt;span class="code-keyword" style="color: blue;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            max = arrayToSort[i];
        }

        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[i]).CompareTo(min) &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            min = arrayToSort[i];
        }
    }
    ArrayList[] holder = &lt;span class="code-keyword" style="color: blue;"&gt;new&lt;/span&gt; ArrayList[(&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)max - (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)min + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;];

    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; holder.Length; i++)
    {
        holder[i] = &lt;span class="code-keyword" style="color: blue;"&gt;new&lt;/span&gt; ArrayList();
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; arrayToSort.Count; i++)
    {
        holder[(&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)arrayToSort[i] - (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)min].Add(arrayToSort[i]);
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; k = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;

    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; holder.Length; i++)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (holder[i].Count &lt;span class="code-keyword" style="color: blue;"&gt;&amp;gt;&lt;/span&gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; j = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; j &lt;span class="code-keyword" style="color: blue;"&gt;&amp;lt;&lt;/span&gt; holder[i].Count; j++)
            {
                arrayToSort[k] = holder[i][j];
                RedrawItem(k);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                k++;
            }
        }
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;/a&gt;&lt;pre id="pre5" land="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="BucketSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CombSort" style="color: #004cd5;"&gt;&lt;u&gt;&lt;/u&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Comb Sort&lt;/h3&gt;&lt;u&gt;&lt;/u&gt;&lt;/a&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CombSort" style="color: #004cd5;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CombSort" style="color: #004cd5;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Comb sort is a relatively simplistic sorting algorithm originally designed by Wlodzimierz Dobosiewicz in 1980. Later it was rediscovered and popularized by Stephen Lacey and Richard Box with a Byte Magazine article published in April 1991. Comb sort improves on bubble sort, and rivals algorithms like Quicksort. The basic idea is to eliminate turtles, or small values near the end of the list, since in a bubble sort these slow the sorting down tremendously. (Rabbits, large values around the beginning of the list, do not pose a problem in bubble sort.).&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;In bubble sort, when any two elements are compared, they always have a gap (distance from each other) of 1. The basic idea of comb sort is that the gap can be much more than one.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;The gap starts out as the length of the list being sorted divided by the shrink factor (generally 1.3), and the list is sorted with that value (rounded down to an integer if needed) for the gap. Then the gap is divided by the shrink factor again, the list is sorted with this new gap, and the process repeats until the gap is 1. At this point, comb sort continues using a gap of 1 until the list is fully sorted. The final stage of the sort is thus equivalent to a bubble sort, but by this time most turtles have been dealt with, so a bubble sort will be efficient.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre6" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList CombSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; gap = arrayToSort.Count;
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; swaps = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;

    &lt;span class="code-keyword" style="color: blue;"&gt;do&lt;/span&gt;
    {
        gap = (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)(gap / &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;.&lt;span class="code-digit" style="color: navy;"&gt;247330950103979&lt;/span&gt;);
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (gap &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;)
        {
            gap = &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;
        swaps = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;

        &lt;span class="code-keyword" style="color: blue;"&gt;do&lt;/span&gt;
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[i]).CompareTo(arrayToSort[i + gap]) &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
            {
                &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[i];
                arrayToSort[i] = arrayToSort[i + gap];
                arrayToSort[i + gap] = temp;
                RedrawItem(i);
                RedrawItem(i + gap);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                swaps = &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
            }
            i++;
        } &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (!(i + gap &amp;gt;= arrayToSort.Count));

    } &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (!(gap == &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt; &amp;amp;&amp;amp; swaps == &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;));

    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;/span&gt;&lt;/a&gt;
&lt;pre id="pre6" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CombSort" style="color: #004cd5;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CycleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Cycle Sort&lt;/h3&gt;&lt;div&gt;&lt;img alt="Cycle_Sort.gif" src="http://www.codeproject.com/KB/recipes/SortVisualization/Cycle_Sort.gif" /&gt;&lt;/div&gt;&lt;/a&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CycleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CycleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Cycle sort is an in-place, unstable sorting algorithm, a comparison sort that is theoretically optimal in terms of the total number of writes to the original array, unlike any other in-place sorting algorithm. It is based on the idea that the permutation to be sorted can be factored into cycles, which can individually be rotated to give a sorted result.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Unlike nearly every other sort, items are never written elsewhere in the array simply to push them out of the way of the action. Each value is either written zero times, if it's already in its correct position, or written one time to its correct position. This matches the minimal number of overwrites required for a completed in-place sort.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre7" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList CycleSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; writes = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; cycleStart = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; cycleStart &amp;lt; arrayToSort.Count; cycleStart++)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; item = arrayToSort[cycleStart];
        &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; pos = cycleStart;

        &lt;span class="code-keyword" style="color: blue;"&gt;do&lt;/span&gt;
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; to = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;
            &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &amp;lt; arrayToSort.Count; i++)
            {
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (i != cycleStart &amp;amp;&amp;amp; ((IComparable)arrayToSort[i]).CompareTo(item) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
                {
                    to++;
                }
            }
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (pos != to)
            {
                &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (pos != to &amp;amp;&amp;amp; ((IComparable)item).CompareTo(arrayToSort[to]) == &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
                {
                    to++;
                }

                &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[to];
                arrayToSort[to] = item;
                RedrawItem(to);
                item = temp;
                RedrawItem(cycleStart);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                writes++;
                pos = to;
            }
        } &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (cycleStart != pos);
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;/span&gt;&lt;/a&gt;
&lt;pre id="pre7" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="CycleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="GnomeSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Gnome Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="GnomeSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;img alt="Gnome_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Gnome_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Gnome sort, originally proposed by Hamid Sarbazi-Azad in 2000 and called Stupid sort, and then later on described by Dick Grune and named "Gnome sort", is a sorting algorithm which is similar to insertion sort, except that moving an element to its proper place is accomplished by a series of swaps, as in bubble sort.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;It is conceptually simple, requiring no nested loops. The running time is O(n&lt;sup&gt;2&lt;/sup&gt;), but tends towards O(n) if the list is initially almost sorted. In practice the algorithm can run as fast as Insertion sort. The average runtime is O(n&lt;sup&gt;2&lt;/sup&gt;)&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;The algorithm always finds the first place where two adjacent elements are in the wrong order, and swaps them. It takes advantage of the fact that performing a swap can introduce a new out-of-order adjacent pair only right before or after the two swapped elements. It does not assume that elements forward of the current position are sorted, so it only needs to check the position directly before the swapped elements.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre8" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList GnomeSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; pos = &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (pos &amp;lt; arrayToSort.Count)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[pos]).CompareTo(arrayToSort[pos - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;]) &amp;gt;= &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            pos++;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;else&lt;/span&gt;
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[pos];
            arrayToSort[pos] = arrayToSort[pos - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;];
            RedrawItem(pos);

            arrayToSort[pos - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = temp;
            RedrawItem(pos - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);
            RefreshPanel(pnlSamples);
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (savePicture)
                SavePicture();
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (pos &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;)
            {
                pos--;
            }
        }
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;pre id="pre8" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="HeapSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Heap Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="HeapSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Heap_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Heap_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Heapsort begins by building a heap out of the data set, and then removing the largest item and placing it at the end of the partially sorted array. After removing the largest item, it reconstructs the heap, removes the largest remaining item, and places it in the next open position from the end of the partially sorted array. This is repeated until there are no items left in the heap and the sorted array is full. Elementary implementations require two arrays - one to hold the heap and the other to hold the sorted elements.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Heapsort inserts the input list elements into a binary heap data structure. The largest value (in a max-heap) or the smallest value (in a min-heap) are extracted until none remain, the values having been extracted in sorted order. The heap's invariant is preserved after each extraction, so the only cost is that of extraction.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;During extraction, the only space required is that needed to store the heap. To achieve constant space overhead, the heap is stored in the part of the input array not yet sorted.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Heapsort uses two heap operations: insertion and root deletion. Each extraction places an element in the last empty location of the array. The remaining prefix of the array stores the unsorted elements.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre9" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList HeapSort(IList list)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = (list.Count - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;) / &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt;; i &amp;gt;= &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i--)
        Adjust(list, i, list.Count - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);

    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = list.Count - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i &amp;gt;= &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i--)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; Temp = list[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;];
        list[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;] = list[i];
        list[i] = Temp;
        RedrawItem(&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;);
        RedrawItem(i);
        pnlSamples.Refresh();
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
            SavePicture();
        Adjust(list, &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;, i - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);
                
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; list;
}

&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; &lt;span class="code-keyword" style="color: blue;"&gt;void&lt;/span&gt; Adjust(IList list, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; m)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; Temp = list[i];
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; j = i * &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt; + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (j &amp;lt;= m)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (j &amp;lt; m)
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)list[j]).CompareTo(list[j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;]) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
                j = j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;

        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)Temp).CompareTo(list[j]) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            list[i] = list[j];
            RedrawItem(i);
            pnlSamples.Refresh();
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                SavePicture();
            i = j;
            j = &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt; * i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;else&lt;/span&gt;
        {
            j = m + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
        }
    }
    list[i] = Temp;
    RedrawItem(i);
    pnlSamples.Refresh();
    &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
        SavePicture();
}&lt;/pre&gt;&lt;pre id="pre9" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="InsertionSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Insertion Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="InsertionSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Insertion_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Insertion_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;If the first few objects are already sorted, an unsorted object can be inserted in the sorted set in proper place. This is called insertion sort. An algorithm consider the elements one at a time, inserting each in its suitable place among those already considered (keeping them sorted). Insertion sort is an example of an incremental algorithm. It builds the sorted sequence one number at a time. This is perhaps the simplest example of the incremental insertion technique, where we build up a complicated structure on n items by first building it on n − 1 items and then making the necessary changes to fix things in adding the last item. The given sequences are typically stored in arrays. We also refer the numbers as keys. Along with each key may be additional information, known as satellite data.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre10" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList InsertionSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i &amp;lt; arrayToSort.Count; i++)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; val = arrayToSort[i];
        &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; j = i - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
        &lt;span class="code-keyword" style="color: blue;"&gt;bool&lt;/span&gt; done = &lt;span class="code-keyword" style="color: blue;"&gt;false&lt;/span&gt;;
        &lt;span class="code-keyword" style="color: blue;"&gt;do&lt;/span&gt;
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[j]).CompareTo(val) &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
            {
                arrayToSort[j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = arrayToSort[j];
                RedrawItem(j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                j--;
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (j &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
                {
                    done = &lt;span class="code-keyword" style="color: blue;"&gt;true&lt;/span&gt;;
                }
            }
            &lt;span class="code-keyword" style="color: blue;"&gt;else&lt;/span&gt;
            {
                done = &lt;span class="code-keyword" style="color: blue;"&gt;true&lt;/span&gt;;
            }

        } &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (!done);
        arrayToSort[j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = val;
                
        RedrawItem(j + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);
        pnlSamples.Refresh();
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
            SavePicture();
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;pre id="pre10" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="MergeSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Merge Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="MergeSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Merge_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Merge_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Conceptually, a merge sort works as follows&lt;/div&gt;&lt;ul&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;If the list is of length 0 or 1, then it is already sorted. Otherwise:&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Divide the unsorted list into two sublists of about half the size.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Sort each sublist recursively by re-applying merge sort.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Merge the two sublists back into one sorted list.&lt;/li&gt;
&lt;/ul&gt;Merge sort incorporates two main ideas to improve its runtime:&lt;ul&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;A small list will take fewer steps to sort than a large list.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Fewer steps are required to construct a sorted list from two sorted lists than two unsorted lists. For example, you only have to traverse each list once if they're already sorted (see the merge function below for an example implementation).&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;pre id="pre11" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList MergeSort(IList a, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; low, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; height)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; l = low;
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; h = height;

    &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (l &amp;gt;= h)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; a;
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; mid = (l + h) / &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt;;

    MergeSort(a, l, mid);
    MergeSort(a, mid + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;, h);

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; end_lo = mid;
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; start_hi = mid + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; ((l &amp;lt;= end_lo) &amp;amp;&amp;amp; (start_hi &amp;lt;= h))
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)a[l]).CompareTo(a[start_hi]) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            l++;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;else&lt;/span&gt;
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = a[start_hi];
            &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; k = start_hi - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; k &amp;gt;= l; k--)
            {
                a[k + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = a[k];
                RedrawItem(k + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
            }
            a[l] = temp;
            RedrawItem(l);
            pnlSamples.Refresh();
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                SavePicture();
            l++;
            end_lo++;
            start_hi++;
        }
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; a;
}&lt;/pre&gt;&lt;pre id="pre11" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="OddEvenSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Odd-Even Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="OddEvenSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Odd-Even_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Odd-Even_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Odd-even sort is a relatively simple sorting algorithm. It is a comparison sort based on bubble sort with which it shares many characteristics. It functions by comparing all (odd, even)-indexed pairs of adjacent elements in the list and, if a pair is in the wrong order (the first is larger than the second) the elements are switched. The next step repeats this for (even, odd)-indexed pairs (of adjacent elements). Then it alternates between (odd, even) and (even, odd) steps until the list is sorted. It can be thought of as using parallel processors, each using bubblesort but starting at different points in the list (all odd indices for the first step). This sorting algorithm is only marginally more difficult than bubble sort to implement.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre12" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList OddEvenSort(IList arrayToSort)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;bool&lt;/span&gt; sorted = &lt;span class="code-keyword" style="color: blue;"&gt;false&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (!sorted)
    {
        sorted = &lt;span class="code-keyword" style="color: blue;"&gt;true&lt;/span&gt;;
        &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;var&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i &amp;lt; arrayToSort.Count - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i += &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt;)
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[i]).CompareTo(arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;]) &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
            {
                &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[i];
                arrayToSort[i] = arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;];
                RedrawItem(i);
                arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = temp;
                RedrawItem(i+1);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                sorted = &lt;span class="code-keyword" style="color: blue;"&gt;false&lt;/span&gt;;
            }
        }

        &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;var&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &amp;lt; arrayToSort.Count - &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; i += &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt;)
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[i]).CompareTo(arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;]) &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
            {
                &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[i];
                arrayToSort[i] = arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;];
                arrayToSort[i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;] = temp;
                RedrawItem(i);
                RedrawItem(i+1);
                pnlSamples.Refresh();
                &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                    SavePicture();
                sorted = &lt;span class="code-keyword" style="color: blue;"&gt;false&lt;/span&gt;;
            }
        }
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;pre id="pre12" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="PigeonholeSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Pigeonhole Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Pigeonhole sorting, also known as count sort (not to be confused with counting sort), is a sorting algorithm that is suitable for sorting lists of elements where the number of elements (n) and the number of possible key values (N) are approximately the same. It requires O(n + N) time.&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;The pigeonhole algorithm works as follows:&lt;/div&gt;&lt;ul&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Given an array of values to be sorted, set up an auxiliary array of initially empty "pigeonholes," one pigeonhole for each key through the range of the original array.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Going over the original array, put each value into the pigeonhole corresponding to its key, such that each pigeonhole eventually contains a list of all values with that key.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Iterate over the pigeonhole array in order, and put elements from non-empty pigeonholes back into the original array.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;pre id="pre13" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList PigeonHoleSort(IList list)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; min = list[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;], max = list[&lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;];
    &lt;span class="code-keyword" style="color: blue;"&gt;foreach&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; x &lt;span class="code-keyword" style="color: blue;"&gt;in&lt;/span&gt; list)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)min).CompareTo(x) &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            min = x;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)max).CompareTo(x) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            max = x;
        }
        Thread.Sleep(speed);
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; size = (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)max - (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)min + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;;

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;[] holes = &lt;span class="code-keyword" style="color: blue;"&gt;new&lt;/span&gt; &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;[size];

    &lt;span class="code-keyword" style="color: blue;"&gt;foreach&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; x &lt;span class="code-keyword" style="color: blue;"&gt;in&lt;/span&gt; list)
        holes[x - (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)min]++;

    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;;
    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; count = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; count &amp;lt; size; count++)
        &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (holes[count]-- &amp;gt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {

            list[i] = count + (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)min;
            RedrawItem(i);
            i++;
            RefreshPanel(pnlSamples);
            Thread.Sleep(speed);
        }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; list;
}&lt;/pre&gt;&lt;pre id="pre13" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="QuickSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Quick Sort&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="QuickSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Quick_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Quick_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Quicksort sorts by employing a divide and conquer strategy to divide a list into two sub-lists. The steps are:&lt;/div&gt;&lt;ul&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Pick an element, called a pivot, from the list.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Reorder the list so that all elements with values less than the pivot come before the pivot, while all elements with values greater than the pivot come after it (equal values can go either way). After this partitioning, the pivot is in its final position. This is called the partition operation.&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Recursively sort the sub-list of lesser elements and the sub-list of greater elements.&lt;/li&gt;
&lt;/ul&gt;The base case of the recursion are lists of size zero or one, which never need to be sorted.
&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;pre id="pre14" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList QuickSort(IList a, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; left, &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; right)
{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = left;
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; j = right;
    &lt;span class="code-keyword" style="color: blue;"&gt;double&lt;/span&gt; pivotValue = ((left + right) / &lt;span class="code-digit" style="color: navy;"&gt;2&lt;/span&gt;);
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; x = (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;)a[&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt;.Parse(pivotValue.ToString())];


    &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (i &amp;lt;= j)
    {
        &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (((IComparable)a[i]).CompareTo(x) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            i++;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;while&lt;/span&gt; (((IComparable)x).CompareTo(a[j]) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
        {
            j--;
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (i &amp;lt;= j)
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = a[i];
            a[i] = a[j];
            RedrawItem(i);
            i++;
            a[j] = temp;
            RedrawItem(j);
            j--;
            pnlSamples.Refresh();
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
                SavePicture();
        }
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (left &amp;lt; j)
    {
        QuickSort(a, left, j);
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (i &amp;lt; right)
    {
        QuickSort(a, i, right);
    }
    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; a;
}&lt;/pre&gt;&lt;pre id="pre14" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="QuickSortWithBubbleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="QuickSortWithBubbleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: black; font-size: 13px; font-weight: normal; line-height: 16px;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="SelectionSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;h3 style="color: #ff9900; font-family: Verdana, Arial, sans-serif; font-size: 11pt; font-weight: bold; line-height: 1.2em;"&gt;Selection Sort&amp;nbsp;&lt;/h3&gt;&lt;/a&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="SelectionSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;img alt="Selection_Sort.gif" height="200" src="http://www.codeproject.com/KB/recipes/SortVisualization/Selection_Sort.gif" style="overflow-x: auto; overflow-y: auto;" width="200" /&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;The algorithm works as follows:&lt;/div&gt;&lt;ul&gt;&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Find the minimum value in the list&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Swap it with the value in the first position&lt;/li&gt;
&lt;li style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;Repeat the steps above for the remainder of the list (starting at the second position and advancing each time)&lt;/li&gt;
&lt;/ul&gt;Effectively, the list is divided into two parts: the sublist of items already sorted, which is built up from left to right and is found at the beginning, and the sublist of items remaining to be sorted, occupying the remainder of the array.&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div class="small-text align-right" id="premain16" style="display: block; font-size: 8pt !important; text-align: right !important;" width="100%"&gt;&lt;img height="9" id="preimg16" preid="16" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer; overflow-x: auto; overflow-y: auto;" width="9" /&gt;&lt;span id="precollapse16" preid="16" style="cursor: pointer; margin-bottom: 0px;"&gt;&amp;nbsp;Collapse&lt;/span&gt;&lt;/div&gt;&lt;pre id="pre16" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;&lt;span class="code-keyword" style="color: blue;"&gt;public&lt;/span&gt; IList SelectionSort(IList arrayToSort)
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 16px; white-space: normal;"&gt;&lt;pre id="pre16" lang="CS" style="background-color: #fbedbb; border-bottom-color: rgb(251, 237, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(251, 237, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(251, 237, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(251, 237, 187); border-top-style: solid; border-top-width: 1px; font: normal normal normal 9pt/normal 'Courier New', Courier, mono; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; white-space: pre-wrap; word-wrap: break-word;"&gt;{
    &lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; min;
    &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; i = &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;; i &amp;lt; arrayToSort.Count; i++)
    {

        min = i;
        &lt;span class="code-keyword" style="color: blue;"&gt;for&lt;/span&gt; (&lt;span class="code-keyword" style="color: blue;"&gt;int&lt;/span&gt; j = i + &lt;span class="code-digit" style="color: navy;"&gt;1&lt;/span&gt;; j &amp;lt; arrayToSort.Count; j++)
        {
            &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (((IComparable)arrayToSort[j]).CompareTo(arrayToSort[min]) &amp;lt; &lt;span class="code-digit" style="color: navy;"&gt;0&lt;/span&gt;)
            {
                min = j;
            }
        }
        &lt;span class="code-keyword" style="color: blue;"&gt;object&lt;/span&gt; temp = arrayToSort[i];
        arrayToSort[i] = arrayToSort[min];
        arrayToSort[min] = temp;

        RedrawItem(i);
        RedrawItem(min);
        pnlSamples.Refresh();
        &lt;span class="code-keyword" style="color: blue;"&gt;if&lt;/span&gt; (chkCreateAnimation.Checked)
            SavePicture();    
    }

    &lt;span class="code-keyword" style="color: blue;"&gt;return&lt;/span&gt; arrayToSort;
}&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/h3&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;a href="http://www.blogger.com/post-edit.g?blogID=4787034547239285231&amp;amp;postID=1230289654176499970" name="QuickSortWithBubbleSort" style="color: #004cd5; text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="small-text align-right" id="premain12" style="display: block; font-size: 8pt !important; text-align: right !important;" width="100%"&gt;&lt;img height="9" id="preimg12" preid="12" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer; overflow-x: auto; overflow-y: auto;" width="9" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="small-text align-right" id="premain10" style="display: block; font-size: 8pt !important; text-align: right !important;" width="100%"&gt;&lt;img height="9" id="preimg10" preid="10" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer; overflow-x: auto; overflow-y: auto;" width="9" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;div class="small-text align-right" id="premain7" style="display: block; font-size: 8pt !important; text-align: right !important;" width="100%"&gt;&lt;img height="9" id="preimg7" preid="7" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer; overflow-x: auto; overflow-y: auto;" width="9" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;u&gt;&lt;/u&gt;&lt;div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="font-family: Verdana, Arial, sans-serif; font-size: 10pt; line-height: 1.2em;"&gt;&lt;/div&gt;&lt;div class="small-text align-right" id="premain5" style="display: block; font-size: 8pt !important; text-align: right !important;" width="100%"&gt;&lt;img height="9" id="preimg5" preid="5" src="http://www.codeproject.com/images/minus.gif" style="cursor: pointer; overflow-x: auto; overflow-y: auto;" width="9" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;u&gt;&lt;/u&gt;&lt;div&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-1230289654176499970?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/1230289654176499970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/visualization-and-comparison-of-sorting_24.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/1230289654176499970?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/1230289654176499970?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/visualization-and-comparison-of-sorting_24.html' title='Visualization and Comparison of sorting algorithms in in C#'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0UBRHozcSp7ImA9Wx9WGEg.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-6257806742789150252</id><published>2011-01-24T14:24:00.000+05:30</published><updated>2011-01-24T14:24:15.489+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-24T14:24:15.489+05:30</app:edited><title>Join our Community - Astronomy.com - Online Community, Forums, Media Galleries, Blogs</title><content type='html'>&lt;a href="http://cs.astronomy.com/asycs/user/CreateUser.aspx?ReturnUrl=http%3a%2f%2fcs.astronomy.com%2fasycs%2fthemes%2fasy%2fforums%2fgrouplist.aspx"&gt;Join our Community - Astronomy.com - Online Community, Forums, Media Galleries, Blogs&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-6257806742789150252?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://cs.astronomy.com/asycs/user/CreateUser.aspx?ReturnUrl=http%3a%2f%2fcs.astronomy.com%2fasycs%2fthemes%2fasy%2fforums%2fgrouplist.aspx' title='Join our Community - Astronomy.com - Online Community, Forums, Media Galleries, Blogs'/><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/6257806742789150252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/join-our-community-astronomycom-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/6257806742789150252?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/6257806742789150252?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/join-our-community-astronomycom-online.html' title='Join our Community - Astronomy.com - Online Community, Forums, Media Galleries, Blogs'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkENR388cCp7ImA9Wx9WGEg.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-8925736881952387856</id><published>2011-01-24T14:14:00.001+05:30</published><updated>2011-01-24T14:14:56.178+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-24T14:14:56.178+05:30</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Science Today'/><title>Sirius and Orion</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;img alt="Click for larger view" src="http://www.astronomy.com/~/media/Images/Photo%20of%20Day/Large%20Images/2011/01/Sirius-Orion.ashx?mw=640" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-8925736881952387856?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/8925736881952387856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/sirius-and-orion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8925736881952387856?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8925736881952387856?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/sirius-and-orion.html' title='Sirius and Orion'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C08ARXg9fyp7ImA9Wx9WF0U.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-8951865104731697566</id><published>2011-01-23T16:52:00.000+05:30</published><updated>2011-01-23T16:54:04.667+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-23T16:54:04.667+05:30</app:edited><title>Sending e-mail using C#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Protocols:-its a group of rules that&amp;nbsp;communicates&amp;nbsp;with each other &amp;nbsp;from network&lt;br /&gt;
SMTP-Simple Mail Transfer &amp;nbsp;Protocol. Its a protocol used to send e-mails .&lt;br /&gt;
MTA-Mail Transfer Agent. its a mail server that communicates with other server and clients to fetch mails.&lt;br /&gt;
MUA-Mail User Agent. Its an application that lets he user to create and read mails.&lt;br /&gt;
&lt;img alt="1000000596 image001 Sending email with C# using SMTP" src="http://www.csharphelp.com/archives4/files/archive637/1000000596_image001.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="1000000596 image002 Sending email with C# using SMTP" src="http://www.csharphelp.com/archives4/files/archive637/1000000596_image002.jpg" /&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Namespaces we used;&lt;br /&gt;
&lt;b style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;i style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;System&lt;br /&gt;
System.Net.Sockets&lt;br /&gt;
System.IO&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
We used sockets ns to connect to MTA by tcpclient class, IO ns to receive and send the information arrived to netstream object.&lt;br /&gt;
You can find the members of our class below&lt;/span&gt;&lt;/div&gt;&lt;div align="center" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="1" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-collapse: collapse; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 600px;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td bgcolor="#808080" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: yellow; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Member Name&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td bgcolor="#808080" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: yellow; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Description&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarSMTPServerAddress&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;�fully qualified domain name� or the ip address of the MTA (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarSenderName&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The sender name that will shown in MUA (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarSenderEmailAddress&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The sender email account that we'll inform to MTA.&lt;/span&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;nbsp;(string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarRecipientName&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The recipient name that will shown in MUA (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarRecipientEmailAddress&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The recipient email account that we'll inform to MTA (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarEmailSubject&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Subject of our email (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarEmailBody&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The body of our email (string)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarSMTPTimeOut&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Timeout in seconds. (int, default=60)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;mvarSMTPRemotePort&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The port number of the MTA (int, default=25)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="184"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;SendEmail&lt;/span&gt;&lt;/td&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;" width="402"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The method that sends the email. (bool)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;lt;/center&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;We've set the default values of our two properties in our default constructor method.&lt;/span&gt;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;public SMTPMailSender() &lt;br /&gt;
{&lt;br /&gt;
mvarSMTPTimeOut = 60;&lt;br /&gt;
mvarSMTPRemotePort = 25;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span id="lblMakale0" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;Let'shave a look at the heart of our class, the SendEmail() method.&lt;/span&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1- We connect to MTA&lt;br /&gt;
The method will return a false value at any line if any error occurs.This willhelp us to know that the mail is sent successfully or not.&lt;br /&gt;
&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;/tbody&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;tclSMTP=new TcpClient();&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
tclSMTP.Connect(mvarSMTPServerAddress,mvarSMTPRemotePort);&lt;br /&gt;
}&lt;br /&gt;
catch&lt;br /&gt;
{ &lt;br /&gt;
return false;&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;If you look at the code above the method willreturn false value if the connection to the mta fails.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2- After our connection is ready, we create an instance of the networkstream tohandle the incoming/outgoing tcpip traffic.To send and receive stringinformation via the networkstream object, we create the streamwriter and thestreamreader classes.&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;nstSMTP=tclSMTP.GetStream();&lt;br /&gt;
stwSMTP=new StreamWriter(nstSMTP);&lt;br /&gt;
strSMTP=new StreamReader(nstSMTP);&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;br /&gt;
3- All of our tools for communicating with mta is ready so we can make astart.As i have mentioned in the beginning of this article we'll use the SMTPprotocol.&lt;br /&gt;
I'll explain the WaitForResponse method later so it is ok for you to know thatthis method waits for the mta response.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;//mta'dan kar��lama mesaj� bekleniyor&lt;br /&gt;
//waiting for greeting message from MTA&lt;br /&gt;
if (WaitForResponse("220"))&lt;br /&gt;
{ &lt;br /&gt;
//mta'ya kar��lama mesaj� g�nderiliyor &lt;br /&gt;
//sending greeting message to MTA &lt;br /&gt;
stwSMTP.WriteLine("HELO " + mvarSMTPServerAddress);&lt;br /&gt;
stwSMTP.Flush();&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
tclSMTP.Close();&lt;br /&gt;
return false;&lt;/span&gt;&lt;br /&gt;
}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;Asyou can see above if we get the 220 response from the mta "HELOmail.somemta.com" message is being sent.If any problem occurs in theWaitForResponse method the connection will be closed and the SendEmail() methodwill return false.&lt;/span&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The rest of the protocol messages will be send and the responses will bereceived just the same as the above code.The only difference will be the messagethat we send and the response we received.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Nowwe'll have a look at our&amp;nbsp;&lt;/span&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: 10pt; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;WaitForResponsemethod;&lt;/span&gt;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;bool WaitForResponse(string strResponseCode)&lt;br /&gt;
{&lt;br /&gt;
//zamana��m� kontrol� i�in mevcut tarih saat bilgisi al�n�yor&lt;br /&gt;
//gathering current date time data for timeout check&lt;br /&gt;
dteTimeOutCheck=DateTime.Now;&lt;br /&gt;
//zamana��m� de�eri bulunuyor&lt;br /&gt;
//calculating timeout value&lt;br /&gt;
TimeSpan tsp=DateTime.Now-dteTimeOutCheck;&lt;br /&gt;
//zamana��m� de�eri kullan�c�n�n belirledi�i de�eri a��ncaya kadar d�ng� �al��t�r�l�yor&lt;br /&gt;
//looping code until the timeout exceeds the user defined value&lt;br /&gt;
while(tsp.Seconds&amp;lt;mvarSMTPTimeOut)&lt;br /&gt;
{&lt;br /&gt;
//MTA bize herhangi bir mesaj g�ndermi� mi kontrol ediliyor.&lt;br /&gt;
//checking if MTA has sent a message to us&lt;br /&gt;
if (nstSMTP.DataAvailable)&lt;br /&gt;
{&lt;br /&gt;
//e�er g�ndermi��se mesaj okunuyor&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt; //if so, get the message&lt;br /&gt;
string strIncomingData=strSMTP.ReadLine();&lt;br /&gt;
//gelen bilginin protokol numaras� istenen koda uyuyormu kontrol ediliyor&lt;br /&gt;
//checking if the requested protocol number matches the server response&lt;br /&gt;
if (strIncomingData.Substring(0,strResponseCode.Length)==strResponseCode)&lt;br /&gt;
return true;&lt;br /&gt;
}&lt;br /&gt;
//zamana��m� de�eri yeniden hesaplan�yor&lt;br /&gt;
//recalculating the timeout value&lt;br /&gt;
tsp=DateTime.Now-dteTimeOutCheck;&lt;br /&gt;
}&lt;br /&gt;
return false;&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 10px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt; As you can see this method takes a string parameter, strResponseCode.&lt;br /&gt;
This parameter represents the first 3 char of the response we wait from the MTA.&lt;br /&gt;
Remember that when we connect with the telnet application we were sendingcommands and waiting for the mta's "250 ok" responses.By sending thefirst 3 char to this method we understand tht the mta has successfully receivedour message and sent us the ok command.If this method returns false weunderstand tht some problem occured and we cut off the connection.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;At this stage the only thing we should consider is the timeout property and howwe'll understand the timeout is exceeded or not.&lt;br /&gt;
Mta can end the connection by any reason or we can have a network problem.If sohow we'll solve this problem.If we do not create a timeout mechanizm and we havea network connectivity problem the WaitForResponse method will wait until we endour program.This will not be a good solution.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;We should store the current datetime value to a variable and check if thedifference exceeds the timeout value.&lt;br /&gt;
&lt;span id="lblMakale" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; height: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; width: 0px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;//zamana��m� kontrol� i�in mevcut tarih saat bilgisi al�n�yor&lt;br /&gt;
//gathering current date time data for timeout check&lt;br /&gt;
dteTimeOutCheck=DateTime.Now;&lt;br /&gt;
//zamana��m� de�eri bulunuyor&lt;br /&gt;
//calculating timeout value&lt;br /&gt;
TimeSpan tsp=DateTime.Now-dteTimeOutCheck;&lt;br /&gt;
//zamana��m� de�eri kullan�c�n�n belirledi�i de�eri a��ncaya kadar d�ng� �al��t�r�l�yor&lt;br /&gt;
//looping code until the timeout exceeds the user defined value&lt;br /&gt;
while(tsp.Seconds&amp;lt;mvarSMTPTimeOut)&lt;br /&gt;
{&lt;br /&gt;
�&lt;br /&gt;
�&lt;br /&gt;
//zamana��m� de�eri yeniden hesaplan�yor&lt;br /&gt;
//recalculating the timeout value&lt;br /&gt;
tsp=DateTime.Now-dteTimeOutCheck;&lt;br /&gt;
}&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;
We store the current datetime value to the dteTimeOutCheck variable.&lt;br /&gt;
Using the TimeSpan class we can find out the difference between ourdteTimeOutCheck value and the current datetime and if the difference exceeds thetimeout value we return a false value telling the outer block thatWaitForResponse method failed.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Have a look at the following code;&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td s="" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;tyle="border:1pt solid windowtext;padding:0in 5.4pt;width:6.45in;" valign="top" width="619"&amp;gt;&lt;/span&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;//MTA bize herhangi bir mesaj g�ndermi� mi kontrol ediliyor.&lt;br /&gt;
//checking if MTA has sent a message to us&lt;br /&gt;
if (nstSMTP.DataAvailable)&lt;br /&gt;
{&lt;br /&gt;
//e�er g�ndermi��se mesaj okunuyor&lt;br /&gt;
//if so, get the message&lt;br /&gt;
string strIncomingData=strSMTP.ReadLine();&lt;br /&gt;
//gelen bilginin protokol numaras� istenen koda uyuyormu kontrol ediliyor&lt;br /&gt;
//checking if the requested protocol number matches the server response&lt;br /&gt;
if (strIncomingData.Substring(0,strResponseCode.Length)==strResponseCode)&lt;br /&gt;
return true;&lt;br /&gt;
}&lt;br /&gt;
//zamana��m� de�eri yeniden hesaplan�yor&lt;br /&gt;
//recalculating the timeout value&lt;br /&gt;
tsp=DateTime.Now-dteTimeOutCheck;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Arial; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;
We check that if there is any data waiting to be received in the first line.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;At first look this line seems unneccessary.Even we can think that we can write asmaller code with just using �strSMTP.ReadLine()�.Correct but not all thetime.&lt;br /&gt;
If we have any problem with the mta or any problem occurs in the protocol flowyou'll see how important this line is.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Assume that we are waiting the 250 response from the mta and somehow the mtaresponded us as "502 unimplemented".&lt;br /&gt;
If we do not use the nstSMTP.DataAvailable check we'll receive the 502 commandand because of the 502 is not the message we are waiting for we'll continue towait.If this scenario happens you'll continue waiting the 250 command in thesecond loop.You will wait because the strSMTP.ReadLine() command waits until hehas received any message.Finally you won't reach to the checkpoint of thetimeout mechanizm until the mta sends us the message we wait.&lt;br /&gt;
Beleive me it's good to write more code, thinking all the possibilities thanwriting a small but unsafe code.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Yahooo, the last stage , testing the code.&lt;br /&gt;
Copy the following code and do not forget to change the mta recipient senderproperties.&lt;/div&gt;&lt;div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; background-attachment: scroll; background-clip: initial; background-color: #e0e0e0; background-image: none; background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; border-bottom-style: none; border-bottom-width: medium; border-collapse: collapse; border-color: initial; border-color: initial; border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-style: initial; border-top-style: none; border-top-width: medium; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;tbody style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;
&lt;tr style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;td style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: windowtext; border-bottom-style: solid; border-bottom-width: 1pt; border-color: initial; border-left-color: windowtext; border-left-style: solid; border-left-width: 1pt; border-right-color: windowtext; border-right-style: solid; border-right-width: 1pt; border-style: initial; border-top-color: windowtext; border-top-style: solid; border-top-width: 1pt; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; vertical-align: baseline; width: 6.45in;" valign="top" width="619"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: 'Courier New'; font-size: xx-small; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;using System;&lt;br /&gt;
namespace SendMailviaSMTP&lt;br /&gt;
{&lt;br /&gt;
class Class1&lt;br /&gt;
{&lt;br /&gt;
[STAThread]&lt;br /&gt;
static void Main(string[] args)&lt;br /&gt;
{&lt;br /&gt;
SMTPMailSender sm=new SMTPMailSender();&lt;br /&gt;
sm.SMTPTimeOut=10;&lt;br /&gt;
sm.SenderEmailAddress="lyildiz@somemta.com";&lt;br /&gt;
sm.RecipientEmailAddress="leventyildiz@gmail.com";&lt;br /&gt;
sm.SMTPServerAddress="mail.somemta.com";&lt;br /&gt;
sm.SenderName="Levent YILDIZ ACME Inc";&lt;br /&gt;
sm.RecipientName="Levent YILDIZ MINDSTORM Inc";&lt;br /&gt;
sm.EmailSubject="Test subject";&lt;br /&gt;
sm.EmailBody="Test Body";&lt;br /&gt;
if (sm.SendEmail())&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine("Email has been sent successfully.");&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
Console.WriteLine("Problem occured.");&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-8951865104731697566?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/8951865104731697566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/sending-e-mail-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8951865104731697566?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/8951865104731697566?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/sending-e-mail-using-c.html' title='Sending e-mail using C#'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0YMQH0-fCp7ImA9Wx9WF0U.&quot;'><id>tag:blogger.com,1999:blog-4787034547239285231.post-7942654255442238846</id><published>2011-01-23T16:43:00.000+05:30</published><updated>2011-01-23T16:43:01.354+05:30</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-01-23T16:43:01.354+05:30</app:edited><title>Mp3 player in c#</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;1 import winmm.dll&lt;br /&gt;
2 write the code as given below&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private string _command;&lt;br /&gt;
&amp;nbsp;private bool isOpen;&lt;br /&gt;
&amp;nbsp;[DllImport("winmm.dll")]&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr &amp;nbsp; &amp;nbsp; hwndCallback);&lt;br /&gt;
&lt;br /&gt;
public void Close()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; _command = "close MediaFile";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; mciSendString(_command, null, 0, IntPtr.Zero);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; isOpen = false;&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;public void Open(string sFileName)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; _command = "open \"" + sFileName + "\" type mpegvideo alias MediaFile";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; mciSendString(_command, null, 0, IntPtr.Zero);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; isOpen = true;&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;public void Play(bool loop)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; if(isOpen)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_command = "play MediaFile";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (loop)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; _command += " REPEAT";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;mciSendString(_command, null, 0, IntPtr.Zero);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4787034547239285231-7942654255442238846?l=vinil-amazingbuttrue.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vinil-amazingbuttrue.blogspot.com/feeds/7942654255442238846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/mp3-player-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7942654255442238846?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4787034547239285231/posts/default/7942654255442238846?v=2'/><link rel='alternate' type='text/html' href='http://vinil-amazingbuttrue.blogspot.com/2011/01/mp3-player-in-c.html' title='Mp3 player in c#'/><author><name>Vinil</name><uri>http://www.blogger.com/profile/16364698093053910442</uri><email>vinci141@gmail.com</email></author><thr:total>0</thr:total></entry></feed>