<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6211227605031694363</id><updated>2024-10-06T20:50:24.279-07:00</updated><category term="Arrays  in C#"/><category term="The new Features about frame work 4.0 part1"/><category term="الأسئله الأكثر شيوعا عن ال API"/><category term="مقارنات بسيطه بين لغات البرمجه"/><title type='text'>Eslam Ghanem &#39;s  blog</title><subtitle type='html'>This is  my blog for information technology I will help all members  here in  programming  and database fields via Microsoft technology</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-1203165467835597787</id><published>2013-10-17T22:54:00.000-07:00</published><updated>2013-10-17T22:54:09.113-07:00</updated><title type='text'>Windows 8.1 Released</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
The wait for Windows 8.1 is now over. Microsoft&amp;nbsp;&lt;a href=&quot;http://blogs.windows.com/windows/b/bloggingwindows/archive/2013/10/17/windows-8-1-now-available.aspx&quot; style=&quot;cursor: pointer; outline: none 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: blue; outline: none 0px;&quot;&gt;blogged&lt;/span&gt;&lt;/a&gt;&amp;nbsp;about its availability from today.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;br style=&quot;outline: none 0px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
Windows 8.1 devices can download the free update from Windows Store. All devices running on earlier versions of windows can update it to this new version from&amp;nbsp;&lt;a href=&quot;http://www.windows.com/buy&quot; style=&quot;cursor: pointer; outline: none 0px; text-decoration: none;&quot;&gt;&lt;span style=&quot;color: blue; outline: none 0px;&quot;&gt;Windows.com&lt;/span&gt;&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;br style=&quot;outline: none 0px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
New devices will now be coming with Windows 8.1 installed.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;br style=&quot;outline: none 0px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
For the Windows 8.1 free update your system must be running on Windows 8 or Windows 8 Pro.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;br style=&quot;outline: none 0px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
Here are some of system requirements:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;ul style=&quot;outline: none 0px;&quot;&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;1 GHz processor or faster with support for PAE, NX, and SSE2&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;1-2 GB RAM / 16-20 GB available hard disk space&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;1024 × 768 screen resolution&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;DirectX 9 graphics processor with WDDM driver&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;To use touch, you need a PC that supports multitouch&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;Microsoft account required for some features&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;Watching DVDs requires separate playback software&lt;/li&gt;
&lt;li style=&quot;outline: none 0px;&quot;&gt;Windows Media Center license sold separately&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
News about some new features like Start button were heard since the Build conference in june.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
Start screen in Windows 8.1 is totally customizable and allows us to select what you see on Windows start – the Start screen or the desktop.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;br style=&quot;outline: none 0px;&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Calibri; font-size: 15px; outline: none 0px; text-align: start;&quot;&gt;
&lt;span style=&quot;color: blue; cursor: pointer; outline: none 0px; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://windows.microsoft.com/en-us/windows/rt&quot; style=&quot;cursor: pointer; outline: none 0px; text-decoration: none;&quot;&gt;Know more about Windows RT&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybiU2tjLa4kWW9tsZuZE-W1hIx6IaxKc86Y2EA30njlLfe1GfB5oDpYdK-cBr9onayzb3dqrolZGC8no8YwToC6rOS-GjiNaJSbmFXaEx3eGBLhpmEFaHNshNZz2HiC2FS9w68I7sw6RI/s1600/1380323_680216781988965_1253765760_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybiU2tjLa4kWW9tsZuZE-W1hIx6IaxKc86Y2EA30njlLfe1GfB5oDpYdK-cBr9onayzb3dqrolZGC8no8YwToC6rOS-GjiNaJSbmFXaEx3eGBLhpmEFaHNshNZz2HiC2FS9w68I7sw6RI/s1600/1380323_680216781988965_1253765760_n.jpg&quot; height=&quot;159&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/1203165467835597787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/10/windows-81-released.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1203165467835597787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1203165467835597787'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/10/windows-81-released.html' title='Windows 8.1 Released'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhybiU2tjLa4kWW9tsZuZE-W1hIx6IaxKc86Y2EA30njlLfe1GfB5oDpYdK-cBr9onayzb3dqrolZGC8no8YwToC6rOS-GjiNaJSbmFXaEx3eGBLhpmEFaHNshNZz2HiC2FS9w68I7sw6RI/s72-c/1380323_680216781988965_1253765760_n.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-7832443849087501322</id><published>2013-10-01T09:43:00.000-07:00</published><updated>2013-10-01T09:43:26.264-07:00</updated><title type='text'>New Terms in Inofrmation Technology Word</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;messageBody&quot; data-ft=&quot;{&amp;quot;type&amp;quot;:3,&amp;quot;tn&amp;quot;:&amp;quot;K&amp;quot;}&quot;&gt;&lt;h5 style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;userContent&quot;&gt;&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_524afae341c7a4a96382087&quot;&gt;
How far do u know?&lt;br /&gt;&lt;br /&gt; 1 Bit = Binary Digit&lt;br /&gt; 8 Bits = 1 Byte&lt;br /&gt; 1024 Bytes = 1 Kilobyte&lt;span class=&quot;text_exposed_hide&quot;&gt;...&lt;/span&gt;&lt;span class=&quot;text_exposed_show&quot;&gt;&lt;br /&gt; 1024 Kilobytes = 1 Megabyte&lt;br /&gt; 1024 Megabytes = 1 Gigabyte&lt;br /&gt; 1024 Gigabytes = 1 Terabyte&lt;br /&gt; 1024 Terabytes = 1 Petabyte&lt;br /&gt; 1024 Petabytes = 1 Exabyte&lt;br /&gt; 1024 Exabyte’s = 1 Zettabyte&lt;br /&gt; _____I know up to Zetta_______&lt;br /&gt;&lt;br /&gt; 1024 Zettabytes = 1 Yottabyte&lt;br /&gt; 1024Yottabytes = 1 Brontobyte&lt;br /&gt; 1024 Brontobytes = 1 Geopbyte&lt;br /&gt; 1024 Geopbyte=1 Saganbyte&lt;br /&gt; 1024 Saganbyte=1 Pijabyte&lt;br /&gt; Alphabyte = 1024 Pijabyte&lt;br /&gt; Kryatbyte = 1024 Alphabyte&lt;br /&gt; Amosbyte = 1024 Kryatbyte&lt;br /&gt; Pectrolbyte = 1024 Amosbyte&lt;br /&gt; Bolgerbyte = 1024 Pectrolbyte&lt;br /&gt; Sambobyte = 1024 Bolgerbyte&lt;br /&gt; Quesabyte = 1024 Sambobyte&lt;br /&gt; Kinsabyte = 1024 Quesabyte&lt;br /&gt; Rutherbyte = 1024 Kinsabyte&lt;br /&gt; Dubnibyte = 1024 Rutherbyte&lt;br /&gt; Seaborgbyte = 1024 Dubnibyte&lt;br /&gt; Bohrbyte = 1024 Seaborgbyte&lt;br /&gt; Hassiubyte = 1024 Bohrbyte&lt;br /&gt; Meitnerbyte = 1024 Hassiubyte&lt;br /&gt; Darmstadbyte = 1024 Meitnerbyte&lt;br /&gt; Roentbyte = 1024 Darmstadbyte&lt;br /&gt; Coperbyte = 1024 Roentbyte&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_524afae341c7a4a96382087&quot;&gt;
&lt;/div&gt;
&lt;/h5&gt;
&lt;/span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;
﻿&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/7832443849087501322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/10/new-terms-in-inofrmation-technology-word.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/7832443849087501322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/7832443849087501322'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/10/new-terms-in-inofrmation-technology-word.html' title='New Terms in Inofrmation Technology Word'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>1</thr:total><georss:featurename>Ezbet Saad, Qism Sidi Gabir, Alexandria Governorate, Egypt</georss:featurename><georss:point>31.214450522225455 29.945511817932129</georss:point><georss:box>31.212753022225456 29.942990317932129 31.216148022225454 29.948033317932129</georss:box></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-7469247689043077315</id><published>2013-08-02T09:37:00.001-07:00</published><updated>2013-08-02T09:37:59.569-07:00</updated><title type='text'>Dot Net v/s PHP – Which is a Better Framework for Application Development</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;In this article, we have compared two most used frameworks in the market – Dot NET and PHP. This will help organizations and developers to choose best amongst them.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Content:&lt;/div&gt;&lt;/b&gt;&lt;div style=&quot;text-align: left;&quot;&gt;It is important to consider the basic requirements of the project and framework’s features at the time of choosing the right framework for web application development. Today, many frameworks are available in the market but Dot NET and PHP are the most adopted ones amongst all.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;To select between these two best available development frameworks in the market, some considerations are being discussed below –&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Dot NET Framework&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Dot NET software development framework is developed by Microsoft Company that basically works on Microsoft Windows. It was introduced in the late 1990s and the latest version of this framework – Dot NET 4.5 was released in August month, 2012 which is distributed with Windows 8 and Windows Server 2012.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;PHP Framework&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;PHP is an open source server side scripting language used basically for building dynamic web pages. The latest release of PHP version 6 is expected to release in a near future.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Considerations for selecting right Framework for your Project&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;1] Platform Compatibility:&lt;/strong&gt; PHP is available on all major platforms while .NET is only compatible with Windows. But it is believed that Microsoft is working behind making it available on Linux.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;2] Portability:&lt;/strong&gt; .NET framework can be used for office as well as web applications while PHP only works on the web. But it is possible to insert and run JAVA code within PHP; however this requires installation of Java JRE on the webserver.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;3] Hosting Cost:&lt;/strong&gt; PHP Hosting fee under Linux is less costly compared to that of Windows hosting. Also, for using MS SQL Server under Windows hosting some additional fees is needed to be paid while Linux hosting includes MySQL database usage standard.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;4] Database Compatibility:&lt;/strong&gt; Dot NET usually works with MS Access or MS SQL Server and PHP framework works best with MySQL database.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;5] General Performance:&lt;/strong&gt; Compared to .NET, PHP framework has a very stable and fast database connectivity which improves the overall generic performance of the PHP based application.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;6] Security:&lt;/strong&gt; Dot NET framework is integrated with an effective security mechanism which saves a lot of programming.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;7] Web Services:&lt;/strong&gt; For building useful web services, Dot NET has best features available. The process of building a web service is very simple in .NET compared to other frameworks present in the market.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;8] Language Support:&lt;/strong&gt; Dot NET supports number of development languages like C#, C++, JAVA, and others. PHP on the other hand supports only PHP language itself and JAVA.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Considering the above discussed points about both the frameworks and the individual requirements, the perfect framework should be selected to build up a multi-featured application﻿&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/7469247689043077315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/08/dot-net-vs-php-which-is-better.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/7469247689043077315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/7469247689043077315'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/08/dot-net-vs-php-which-is-better.html' title='Dot Net v/s PHP – Which is a Better Framework for Application Development'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-4413389918474906821</id><published>2013-07-17T16:41:00.002-07:00</published><updated>2013-07-17T16:41:28.775-07:00</updated><title type='text'>Programming .NET 4.5 without VS2012</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;header class=&quot;entry-header&quot; dir=&quot;ltr&quot; style=&quot;background-color: white; border: 0px; font-family: Georgia, serif; font-size: 16px; line-height: 16px; margin: 0px 0px 1.5rem; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;border: 0px; clear: both; font-size: 1.5rem; font-weight: normal; line-height: 1.2; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/h1&gt;
&lt;div class=&quot;comments-link&quot; style=&quot;border: 0px; color: #757575; font-size: 0.875rem; line-height: 2; margin: 0.5rem 0px 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;Back in the good old days, when the Windows start menu wasn’t designed for smartphones, the free&lt;/span&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/en-us/download/details.aspx?id=8279&quot; style=&quot;border: 0px; color: #21759b; font-size: 16px; line-height: 1.5; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot;&gt;Windows SDK 7.1&lt;/a&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;shipped with all .NET 4.0 compilers and even Visual C++.&lt;/span&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://news.kynosarges.org/2012/09/26/net-4-5-windows-sdk-8-0/&quot; style=&quot;border: 0px; color: #21759b; font-size: 16px; line-height: 1.5; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot;&gt;As noted previously&lt;/a&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;, Microsoft decided to stop this generosity and removed&lt;/span&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=&quot;border: 0px; font-size: 16px; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;all&lt;/em&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 16px; line-height: 1.5;&quot;&gt;compilers from the new Windows SDK 8.0 for .NET 4.5. In the case of Visual C++ that’s it – you definitely need Visual Studio 2012 to get the new compiler.&lt;/span&gt;&lt;/div&gt;
&lt;/header&gt;&lt;div class=&quot;entry-content&quot; dir=&quot;ltr&quot; style=&quot;background-color: white; border: 0px; font-family: Georgia, serif; font-size: 16px; line-height: 2; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
However, I just realized that the standard .NET Framework&amp;nbsp;&lt;em style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;runtime&lt;/em&gt;&amp;nbsp;actually contains MSBuild and compilers for C#, Visual Basic, JScript, and MSIL! So these tools are already available on every Windows 8 system, or any other .NET 4.5 installation. The .NET reference assemblies and some other tools are missing, such as ILDASM and the assembly linker, but those items are included in the free Windows SDK 8.0.&lt;/div&gt;
&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
So it’s still possible to set up a complete .NET 4.5 development environment for the command line, without Visual Studio 2012 but with the original Microsoft compilers and libraries rather than&amp;nbsp;&lt;a href=&quot;http://mono-project.com/&quot; style=&quot;border: 0px; color: #21759b; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot;&gt;Mono’s&lt;/a&gt;. Here’s what you need to do:&lt;/div&gt;
&lt;ol style=&quot;border: 0px; line-height: 1.5; list-style-image: initial; list-style-position: outside; margin: 0px 0px 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 2.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
Add the .NET 4.5 directory for your Windows bitness to your&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PATH&lt;/code&gt;. On my 64-bit system, that’s&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;C:\Windows\Microsoft.NET\Framework64\v4.0.30319&quot;&lt;/code&gt;. On a 32-bit system, simply remove the&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;64&lt;/code&gt;. The path uses the old .NET 4.0 version number because 4.5 deploys as an in-place upgrade to 4.0. Try running&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;csc.exe&lt;/code&gt;&amp;nbsp;to verify the actual version.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 2.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
Download the&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-US/windows/hardware/hh852363&quot; style=&quot;border: 0px; color: #21759b; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot;&gt;Windows SDK 8.0&lt;/a&gt;&amp;nbsp;installer. Run it and select “.NET Framework 4.5 Software Development Kit” for installation. You can deselect everything else, though you may want to examine the available options. The SDK’s reference assemblies are registered automatically for use by the compilers.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;border: 0px; margin: 0px 0px 0px 2.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
Add the directory with the SDK’s .NET utilities to your path. That’s&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools&quot;&lt;/code&gt;&amp;nbsp;in a default installation. On a 64-bit system, you should&amp;nbsp;&lt;em style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;first&lt;/em&gt;&amp;nbsp;add the same path followed by&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;\x64&lt;/code&gt;, for those tools that have 64-bit versions. (You might not need the 32-bit directory at all in this case, but I’m not sure about that.)&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
And that’s it!&amp;nbsp;&lt;code style=&quot;border: 0px; font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.875rem; line-height: 1.5; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;csc.exe&lt;/code&gt;&amp;nbsp;should now compile your typical “Hello, World” program just fine. MSBuild could also build some old projects I had created in Visual Studio 2010, although with some version warnings because the projects targeted .NET 4.0 and the SDK 8.0 reference assemblies are for 4.5. If that’s a concern you could always install the SDK 7.1 to get the original .NET 4.0 reference assemblies.&lt;/div&gt;
&lt;div style=&quot;border: 0px; line-height: 1.5; margin-bottom: 1.5rem; padding: 0px; vertical-align: baseline;&quot;&gt;
Just as with the old SDK 7.1, this is a bare-bones setup. You’ll have to write your build files by hand, and you won’t have an IDE with debugger and IntelliSense. Still, the old-fashioned command-line approach is perfectly workable for getting a taste of C# and for writing small tests and utilities.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/4413389918474906821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/07/programming-net-45-without-vs2012.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4413389918474906821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4413389918474906821'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/07/programming-net-45-without-vs2012.html' title='Programming .NET 4.5 without VS2012'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-2438132625757579682</id><published>2013-07-16T05:16:00.003-07:00</published><updated>2013-07-16T08:09:08.826-07:00</updated><title type='text'>The History of CTRL + ALT + DELETE  </title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;primary-image&quot; style=&quot;border: 0px; box-sizing: border-box; float: none; font-family: pragmatica-web, sans-serif; font-size: 15px; line-height: 0; margin: 0px 0px 8px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;&quot; height=&quot;430&quot; src=&quot;http://mentalfloss.com/sites/default/files/styles/article_640x430/public/145836889.jpg&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div class=&quot;node-inline&quot; style=&quot;border: 0px; box-sizing: border-box; clear: left; float: left; font-family: pragmatica-web, sans-serif; font-size: 15px; line-height: 19px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;field-group-format group_image_credit field-group-div group-image-credit  speed-fast effect-none&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: pragmatica-web, sans-serif; font-size: 15px; line-height: 19px; margin: 0px 0px 35px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;field field-name-field-image-credit field-type-text field-label-inline clearfix&quot; style=&quot;border: 0px; box-sizing: border-box; color: #04bfc3; float: right; font-size: 10px; font-style: inherit; font-variant: inherit; line-height: inherit; margin: -14px 0px 0px; padding: 0px; text-transform: uppercase; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;field-label&quot; style=&quot;border: 0px; box-sizing: border-box; color: #999999; display: inline-block; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
IMAGE CREDIT:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;field-items&quot; style=&quot;border: 0px; box-sizing: border-box; display: inline-block; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;field-item even&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
THINKSTOCK&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: pragmatica-web, sans-serif; font-size: 15px; line-height: 19px; margin: 0px; padding: 0px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;field-items&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;field-item even&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
In the spring of 1981, David Bradley was part of a select team working from a nondescript office building in Boca Raton, Fla. His task: to help build IBM’s new personal computer. Because Apple and RadioShack were already selling small stand-alone computers, the project (code name: Acorn) was a rush job. Instead of the typical three- to five-year turnaround, Acorn had to be completed in a single year.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
One of the programmers’ pet peeves was that whenever the computer encountered a coding glitch, they had to manually restart the entire system. Turning the machine back on automatically initiated a series of memory tests, which stole valuable time. “Some days, you’d be rebooting every five minutes as you searched for the problem,” Bradley says. The tedious tests made the coders want to pull their hair out.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
So Bradley created a keyboard shortcut that triggered a system reset without the memory tests. He never dreamed that the simple fix would make him a programming hero, someone who’d someday be hounded to autograph keyboards at conferences. And he didn’t foresee the command becoming such an integral part of the user experience.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
Bradley joined IBM as a programmer in 1975. By 1978, he was working on the Datamaster, the company’s early, flawed attempt at a PC. It was an exciting time—computers were starting to become more accessible, and Bradley had a chance to help popularize them.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
In September 1980, he became the 12th of 12 engineers picked to work on Acorn. The close-knit team was whisked away from IBM’s New York headquarters. “We had very little interference,” Bradley says. “We got to do the design essentially starting with a blank sheet of paper.”&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
Bradley worked on everything from writing input/output programs to troubleshooting wire-wrap boards. Five months into the project, he created ctrl+alt+del. The task was just another item to tick off his to-do list. “It was five minutes, 10 minutes of activity, and then I moved on to the next of the 100 things that needed to get done,” he says. Bradley chose the keys by location—with the del key across the keyboard from the other two, it seemed unlikely that all three would be accidentally pressed at the same time. Bradley never intended to make the shortcut available to customers, nor did he expect it to enter the pop lexicon. It was meant for him and his fellow coders, for whom every second counted.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
The team managed to finish Acorn on schedule. In the fall of 1981, the IBM PC hit shelves—a homely gray box beneath a monitor that spit out green lines of type. Marketing experts predicted that the company would sell a modest 241,683 units in the first five years; company execs thought that estimate was too optimistic. They were all wrong. IBM PC sales would reach into the millions, with people of all ages using the machines to play games, edit documents, and crunch numbers. Computing would never be the same.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;file file-image file-image-png&quot; id=&quot;file-155763&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;content&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;&quot; height=&quot;388&quot; src=&quot;http://mentalfloss.com/sites/default/files/styles/insert_main_wide_image/public/windows.png&quot; style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
And yet, few of these consumers were aware of Bradley’s shortcut quietly lingering in their machines. It wasn’t until the early 1990s, when Microsoft’s Windows took off, that the shortcut came to prominence. As PCs all over the country crashed and the infamous “blue screen of death” plagued Windows users, a quick fix spread from friend to friend: ctrl+alt+del. Suddenly, Bradley’s little code was a big deal. Journalists hailed “the three-finger salute” as a saving grace for PC owners—a population that kept growing.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
In 2001, hundreds of people packed into the San Jose Tech Museum of Innovation to commemorate the 20th anniversary of the IBM PC. In two decades, the company had moved more than 500 million PCs worldwide. After dinner, industry luminaries, including Microsoft chairman Bill Gates, sat down for a panel discussion. But the first question didn’t go to Gates; it went to David Bradley. The programmer, who has always been surprised by how popular those five minutes spent creating ctrl+alt+del made him, was quick to deflect the glory.&lt;/div&gt;
&lt;div style=&quot;border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin-bottom: 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
“I have to share the credit,” Bradley joked. “I may have invented it, but I think Bill made it famous.”&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;direction: ltr;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/2438132625757579682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/07/the-history-of-ctrl-alt-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/2438132625757579682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/2438132625757579682'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/07/the-history-of-ctrl-alt-delete.html' title='The History of CTRL + ALT + DELETE  '/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-6523211659657743660</id><published>2013-04-19T09:01:00.002-07:00</published><updated>2013-04-19T09:01:35.202-07:00</updated><title type='text'>What is probabilistic programming?</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Probabilistic programming languages are&amp;nbsp;in the spotlight. This is&amp;nbsp;due to the&amp;nbsp;announcement of a new DARPA program&amp;nbsp;to support their fundamental research. But what is probabilistic programming? What can we expect from this research? Will this effort pay off? How long will it take?&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
A&amp;nbsp;probabilistic programming language&amp;nbsp;is a high-level language that makes it easy for a developer to define probability models and then “solve” these models automatically. These languages incorporate random events as primitives and their runtime environment handles inference. Now, it is a matter of programming that enables a clean separation between modeling and inference. This can vastly reduce the time and effort associated with implementing new models and understanding data. Just as high-level programming languages transformed developer productivity by abstracting away the details of the processor and memory architecture, probabilistic languages promise to free the developer from the complexities of high-performance probabilistic inference.&lt;span id=&quot;more-56862&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
What does it mean to perform inference automatically? Let’s compare a probabilistic program to a classical simulation such as a climate model. A simulation is a computer program that takes some initial conditions such as historical temperatures, estimates of energy input from the sun, and so on, as an input. Then it uses the programmer’s assumptions about the interactions between these variables that are captured in equations and code to produce forecasts about the climate in the future. Simulations are characterized by the fact that they only run in one direction: forward, from causes to hypothesized effects.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
A probabilistic program turns this around. Given a universe of possible interactions between different elements of the climate system and a collection of observed data, we could automatically learn which interactions are most effective in explaining the observations — even if these interactions are quite complex. How does this work? In a nutshell, the probabilistic language’s runtime environment runs the program both forward and backward. It runs forward from causes to effects (data) and backward from the data to the causes. Clever implementations will trade off between these directions to efficiently home in on the most likely explanations for the observations.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://strata.oreilly.com/wp-files/5/2013/04/PP-Figure.002.png&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #551a8b; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;PP Figure.002&quot; class=&quot;aligncenter size-full wp-image-56363&quot; data-lazy-loaded=&quot;true&quot; height=&quot;768&quot; src=&quot;http://strata.oreilly.com/wp-files/5/2013/04/PP-Figure.002.png&quot; style=&quot;background-color: transparent; border: none; clear: both; display: block; height: auto; margin: 0px auto 12px; max-width: 100%; padding: 0px; text-align: justify; vertical-align: baseline;&quot; width=&quot;1024&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Better climate models are but one potential application of probabilistic programming. Other models include: shorter and more humane clinical trials with fewer unneeded side effects and more accurate outcomes; machine perception that transcends the capabilities of the now-ubiquitous quadcopters and even Google’s self-driving cars; and “nervous systems” that fuse data from massively distributed and noisy sensor networks to better understand both the natural world and artificial environments.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Of course, any technology this general carries a lot of uncertainty around its development path and eventual impact. So much depends on complex interactions with other technology threads and, ultimately, social factors and regulation. With all possible humility, here is one sample from the predictive distribution, conditioned on what we know so far:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; list-style: square; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 0px 0px 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Phase I&lt;/strong&gt;&amp;nbsp;— Probabilistic programming will transform the practice of data science by unifying anecdotal reasoning with more reliable statistical approaches.&amp;nbsp;&lt;a href=&quot;http://blogs.hbr.org/cs/2013/03/a_data_scientists_real_job_sto.html&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #551a8b; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;If data science is first and foremost about telling stories&lt;/a&gt;, then probabilistic programming is in many ways the perfect tool. Practitioners will be able to leverage the persuasive power of narrative, while staying on firm quantitative ground.&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 0px 0px 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Phase II&lt;/strong&gt;&amp;nbsp;— Practitioners will really start to push the boundaries of modeling in fundmental ways in order to address many applications that don’t fit well into the current machine learning, text mining, or graph analysis paradigms. Many real-world datasets are a mixture of tabular, relational, textual, geospatial, audiovisual, and other data types. Probabilistic programs can weave all of these pieces together in natural ways. Current solutions that claim to integrate heterogeneous data typically do so by beating it all into a similar form, losing much of the underlying structure along the way.&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; border: 0px; margin: 0px 0px 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Phase III&lt;/strong&gt;&amp;nbsp;— Probabilistic programming will push well into territory that is universally recognized as artificial intelligence. As we’re&amp;nbsp;&lt;a href=&quot;http://www.newyorker.com/online/blogs/elements/2013/04/steamrolled-by-big-data.html&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #551a8b; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;often reminded&lt;/a&gt;, intelligent systems are very application-specific. Good chess algorithms are unlike Google’s self-driving car, which is totally different from IBM’s Watson. But probabilistic programs can be layered and modularized, with subsystems that specialize in particular problem domains, but embedded in a shared fabric that recognizes the current context and brings appropriate modeling subsystems to bear.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
What will it take to make all this real? The conceptual underpinnings of probabilistic programming languages are well in hand, thanks to trailblazing work by research groups at MIT, UMass Amherst, Microsoft Research, Harvard, and elsewhere. The core challenge at this point is developing performant inference engines that can efficiently solve the very wide range of models that these languages can express. We’ll also need new debugging, optimization, and visualization tools to help developers get the most from these systems.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
This story will take years to play out in full, but I expect we’ll see real progress over the next three to four years. I’m excited.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial, Verdana, Geneva, Helvetica, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 14px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Want to learn more?&amp;nbsp;BUGS&amp;nbsp;is a probabilistic programming language originally developed by statisticians more than 20 years ago. While it has a number of limitations around expressivity and dataset size, it’s a great way to get your feet wet. Also check out Rob Zinkov’s&amp;nbsp;tutorial post, which includes examples of several models.&amp;nbsp;&lt;a href=&quot;http://projects.csail.mit.edu/church/wiki/Church&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #551a8b; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;Church&lt;/a&gt;&amp;nbsp;is the most ambitious probabilistic programming language. Don’t miss the&amp;nbsp;tutorials, though it may not be the most accessible or practical option until the inference engine and toolset mature. For that reason,&amp;nbsp;factorie&amp;nbsp;might be a better bet in the short term, especially if you like Scala, or&amp;nbsp;Microsoft Research’s infer.net&amp;nbsp;with C# and F# bindings. The&amp;nbsp;proceedings from a recent academic workshop&amp;nbsp;provide a great snapshot of the field as of late 2012. Finally,&amp;nbsp;&lt;a href=&quot;http://www.youtube.com/watch?v=huIP__zhDTM&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #551a8b; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;this video&lt;/a&gt;&amp;nbsp;from a long-defunct startup that I co-founded&amp;nbsp;contains one stab at explaining many of the concepts underlying probabilistic programming referred to under the more general term probabilistic computing:&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/6523211659657743660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/04/what-is-probabilistic-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6523211659657743660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6523211659657743660'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/04/what-is-probabilistic-programming.html' title='What is probabilistic programming?'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-1707961926274682472</id><published>2013-04-06T00:58:00.000-07:00</published><updated>2013-04-06T00:58:53.948-07:00</updated><title type='text'>Multi-core scaling: it’s not multi-threaded</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; margin: 0px 0px 0.75em; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6US7ULz7fN3VA84VROHc5a5yRCiNNDdO8reFNwjtHrRwXBJgSQnngv7OQR0Ui0desQnBQ8OTEnRw2a6XVtRuiRXfL3cporDcPWgn9AjBgW3lJ4NnPJt0zahO0uFMRNvI2WIeSLpe-A8/s1600/CPU+core+scaling.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; color: #336699; direction: ltr; float: right; margin-bottom: 1em; margin-left: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6US7ULz7fN3VA84VROHc5a5yRCiNNDdO8reFNwjtHrRwXBJgSQnngv7OQR0Ui0desQnBQ8OTEnRw2a6XVtRuiRXfL3cporDcPWgn9AjBgW3lJ4NnPJt0zahO0uFMRNvI2WIeSLpe-A8/s320/CPU+core+scaling.png&quot; style=&quot;border: 1px solid rgb(255, 255, 255); padding: 4px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
In the decade leading to 2001, Intel CPUs went from 33-MHz to 3-GHz, a&lt;strike&gt;thousand-fold&lt;/strike&gt;&amp;nbsp;hundred-fold increase in speed. In the decade since, they’ve been stuck at 3-GHz. Instead of faster clock speeds, they’ve been getting more logic. Instead of one instruction per clock cycle, they now execute four (“superscalar”). Instead of one computation per instruction, they now do eight (“SIMD”). Instead of a single CPU on a chip, they now put four (“multi-core”).&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
However, desktop processors have been stuck at four cores for several years now. That’s because the software is lagging. Multi-threaded software goes up to about four cores, but past that point, it fails to get any benefit from additional cores. Worse, adding cores past four often makes software go slower.&lt;/div&gt;
&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;more&quot; style=&quot;background-color: white; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
This post talks about scaling code past the four-core limit. Instead of the graph above showing performance falling off after four cores, these techniques lead to a graph like the one below, with performance increasing as more cores are added.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; direction: ltr; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; margin: 0px 0px 0.75em; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia4wDa6jReqNioPy5vyZ4ZExxlg0CUZPAOf297JnOzytXERxlNV7TuvIQ9vH_H4nM4XfxzdX6AQF7-wG12cOEuTtiFIULN6-qM3PtBP2252w6FePChgL9umt9wkhQLPGnOQ3zp0KHwfC0/s1600/CPU+core+scaling+good.png&quot; imageanchor=&quot;1&quot; style=&quot;color: #336699; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia4wDa6jReqNioPy5vyZ4ZExxlg0CUZPAOf297JnOzytXERxlNV7TuvIQ9vH_H4nM4XfxzdX6AQF7-wG12cOEuTtiFIULN6-qM3PtBP2252w6FePChgL9umt9wkhQLPGnOQ3zp0KHwfC0/s320/CPU+core+scaling+good.png&quot; style=&quot;border: 1px solid rgb(255, 255, 255); padding: 4px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The reason code fails to scale is that it’s written according to out-of-date principles based on “multi-tasking”. Multi-tasking was the problem of making a single core run multiple tasks. The core would switch quickly from one task to the next to make it appear they were all running at the same time, even though during any particular microsecond only one task was running at a time. We now call this “multi-threading”, where “threads” are lighter weight tasks.&lt;/div&gt;
&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; direction: ltr; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; margin: 0px 0px 0.75em; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxK6Kqv6fh64N44GnUO6_pw3fOCC49vekuW10IIHkNXGErwQGmQrX0k6yYhBrpIc3ES6OQYDy-DNwN3OXhNiDZ0GyPdqWA0GGblAQN2_NLdrJP9zi0xpIVPZUJSqataU0nU96jEBdACLw/s1600/many-to-one.png&quot; imageanchor=&quot;1&quot; style=&quot;color: #336699; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxK6Kqv6fh64N44GnUO6_pw3fOCC49vekuW10IIHkNXGErwQGmQrX0k6yYhBrpIc3ES6OQYDy-DNwN3OXhNiDZ0GyPdqWA0GGblAQN2_NLdrJP9zi0xpIVPZUJSqataU0nU96jEBdACLw/s200/many-to-one.png&quot; style=&quot;border: 1px solid rgb(255, 255, 255); padding: 4px;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
But we aren’t trying to make many tasks run on a single core. We are trying to split a single task across multiple cores. It’s the exact opposite problem. It only looks similar because in both cases we use “threads”. In every other aspect, the problems are opposite.&lt;/div&gt;
&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; direction: ltr; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; margin: 0px 0px 0.75em; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY0GiBn2AlXOSOmJFcRevOHy0RV_oSST7e2zMMiV5QmsKGhy4G8sqDaKKmwY-mfpm5OhdKV5BpnSfVtn_DYVnba37z8xIpFNUvx_qOf78qU6VcjzKwXFMzrGKbFefQ5KjNyhCf_DK68n8/s1600/one-to-many.png&quot; imageanchor=&quot;1&quot; style=&quot;color: #336699; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY0GiBn2AlXOSOmJFcRevOHy0RV_oSST7e2zMMiV5QmsKGhy4G8sqDaKKmwY-mfpm5OhdKV5BpnSfVtn_DYVnba37z8xIpFNUvx_qOf78qU6VcjzKwXFMzrGKbFefQ5KjNyhCf_DK68n8/s200/one-to-many.png&quot; style=&quot;border: 1px solid rgb(255, 255, 255); padding: 4px;&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The biggest issue is synchronization. As your professors pounded into you, two threads/cores cannot modify the same piece of data at the same time, or it will be corrupted. Even if the chance of them doing the modification at the exactly the same time is rare, it always happens eventually. Computers do a billion computations per second, so if the chance is one in a billion, that means corruption happens about once per second.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The proscribed method for resolving this is a “lock”, where one thread stops and waits when another thread is modifying that piece of data. Since it’s rare for two threads to actually conflict in practice, it’s rare for a thread to actually wait.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
There are multiple types of locks, like spinlocks, mutexes, critical sections, semaphores, and so on. Even among these classes there are many variations. What they all have in common is that when conflict occurs, they cause the thread to stop and wait.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
It’s the waiting that is the problem. As more cores are added, the chance they’ll conflict and have to wait increases dramatically. Moreover, how they wait is a big problem.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
In the Linux “pthread_mutex_t”, when code stops and waits, it does a system call to return back to the kernel. This is a good idea when there’s only one CPU core running multiple threads because of course, the current thread isn’t going to be able to make forward progress anyway until whichever thread owns the lock is allowed to proceed to release the lock.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
But with multi-core, this becomes insanely bad. The cost of going into the kernel and going through the thread scheduling system is huge. It’s why software using “mutexes” gets slower as you add more cores, because this constant kernel traffic adds a lot of extra overhead.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
In short, mutexes are good when many threads share a core, but bad when it’s a single thread per core.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
What we want is synchronization that doesn’t cause a thread to stop and wait. The situation is a lot like traffic intersections, where multiple flows of automobiles must share a common resource. One technique is to use traffic lights to force one direction to stop and wait while the other proceeds. Another technique is the freeway, where an overpass is used to allow both directions to proceed at the same time without stopping.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
What we therefore want is “freeway overpass” synchronization. Such techniques exist, though they can get very complicated.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The most basic technique exploits the fact that on modern CPUs, either reading or writing a number in memory is atomic. By this I mean that combining a read with a write can lead to corruption, but doing either a read or a write alone does not. In the past, reading a multibyte number could lead to corruption, because in the nanoseconds between reading the first byte of a number another core could write to the second byte. This can no longer happen.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Let’s exploit this fact with the packet counters on Linux. The network stack keeps track of packets/bytes received/transmitted, as well as counts of errors that occur. Multiple cores may be processing different packets at the same time. Therefore, they need to synchronize their updates to the packet counters. But, if they have to stop and wait during the synchronization, this will lead to an enormous packet loss.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The way they solve this is for each core to maintain its own packet counters. When you call “ifconfig” to read the packet counters and display them, that thread just sums up all the individual core’s counters into a single set of counters. Because that thread only reads the counters, and reads are atomic, no corruption is possible.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Well, some corruption is possible. Consider if the program wanted to report “average packet size”, which is calculated by “total bytes” divided by “total packets”. Reading a single integer is atomic, but reading both integers is not. Therefore, it’s possible that sometimes the thread will read “total bytes”, then another core updates the counters, then the thread reads “total packets” and does the calculation. This will lead to a slightly less average packet size than if these counters were properly synchronized. So this technique isn’t perfect, but depends on your requirements.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
This is just one example. There are many other techniques for narrow cases where either traditional synchronization is not needed at all, or can mostly be avoided. Some terms to google along this line are the “ring buffer” and “read copy update (RCU)”.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
When we say “atomic”, though, we don’t mean an individual read or write, but combining the two into a single, non-interuptable operation.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The x86 processor has an assembly language instruction called “lock”. It’s not really it’s own instruction, but instead modifies the following instruction to be atomic. When the normal “add” instruction reads data from memory, adds to it, then writes the data back, another core could modify that memory location in the meantime, causing corruption. The “lock add” instruction prevents this from happening, guaranteeing the entire addition to be atomic.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Think of this as a “hardware mutex” rather than the traditional “software mutex”, only that it causes code to stop and wait for 30 instruction cycles rather than 30,000. By the way, the cost is because this is done within the L3 or “last level” cache. On current Intel CPUs, that’s about 30 clock cycles.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The “lock” prefix works only on a few arithmetic instructions, and only one value at a time. To work with more than one value, you need to use the “cmpxchg16b” instruction. What you do is first read 16 bytes of data. Then you make all your changes you want on that 16 bytes. Then using “cmpxchg16b”, you attempt to write all the changes back again. If that memory was changed in the meantime, this instruction fails and sets a flag. That way, you know synchronization failed, data would have been corrupted, and that you must back up and try again.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
It’s 16-bytes because that’s the size of two pointers. It allows you to modify two pointers atomically, or a pointer plus an integer. This feature is called “CAS2” or “compare-and-swap two numbers”, and is the basis for a lot the “lock-free” stuff described below.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Intel’s new “Haswell” processor shipping in mid-2013 extends this model to “cmpxchg64b” or “cmpxchg128b”, where the regions of memory do not have to be next to each other. This feature is called “transactional memory”. This will make good, fast, scalable synchronization must easier in the future.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
You don’t want to mess around with assembly language, especially since you want your code to run on both x86 and ARM. Therefore, compilers let you access these instructions with built-in functions. On gcc, example functions are __sync_fetch_and_add() and __sync_bool_compare_and_swap(). They work just as well on x86 as ARM. Microsoft has similar intrinsics for their compilers.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The above atomics act on one thing at a time. In practice, you need something more complex. For example, you might have 100 CPU cores trying to work off the same hash table, inserting things, removing things, and even resizing the entire table, all at the same time, all without requiring a core to stop and wait for another to finish.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The general term this goes under is “lock-free”. You don’t have to write hash-tables, linked-list, and other data structures yourself. Instead, you simply use libraries created by other people.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
You can also link to large subsystems that incorporate lock-free inside. A good example are “heaps” or “malloc()”. The standard Microsoft heap has a global mutex that really saps performance on multi-core code. You can replace it with a lock-free heap simply by linking to another library. And such things tend to be cross platform.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
You should be very afraid of doing this yourself, unless you are willing to study the problem in its entirety. It’s like crypto: people tend to make the same naïve mistakes. One example is the “ABA” problem. When doing a “compare-and-swap” like cmpxchg instruction mentioned above, sometimes the value changes, then changes back again. Thus, you think nothing else has changed, by it has. Another example is the “weak/strong memory model” problem: your lock-free code might work on x86 but fail on ARM. If you get the desire to write your own lock-free algorithms, google these issues, otherwise, they will bite you.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
While synchronization is the biggest issue with thread scalability, there are other concerns as well.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
When you go multi-core, you have to divide your application across multiple cores. There are two fundamental ways of doing this: pipelining and worker-threads. In the pipeline model, each thread does a different task, then hands off the task to the next thread in the pipeline. In the worker model, each thread carries out the same task. Of course, you can combine the two models, where you might have equal worker threads at a stage in the pipeline.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
There are tradeoffs for each approach. In the pipeline approach, there is a lot of synchronization overhead as you pass the job from one thread to the next. In the worker thread, anything that is shared among all the threads becomes a synchronization bottleneck.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Thus, when there is a shared resource, you want to split that off as a stage in a pipeline. When threads can work independently without sharing something, you want peer worker threads.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Consider a multi-core IDS (intrusion detection system) like Snort as an example. The first stage is pulling packets from the network adapter to be analyzed. This is a shared resource among all the threads, and hence, a synchronization bottleneck. You might therefore want to split this out as a pipeline stage, and have one thread read packets, and then dispatch those packets to worker threads. Likewise, another shared resource is the table of TCP control blocks (TCB).&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
In the real world, Intel network cards solves this problem for you. The network card itself pre-processes TCP packet and hashes the IP/port info. Based on that info, it dispatches packets into different queues. The popular open-source “single-threaded” Snort application exploits this, running a wholly separate process for each queue. Thus, the entire application is “multi-core” even though it’s “single-threaded”, using the pipeline model with one thread (running inside the network adapter) to split traffic into queues, and then worker processes to process the packets.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
What I find fascinating about Snort is that it’s probably a stupid idea to make this classically single-threaded program into a multi-threaded program. You don’t need to share most of the data. When you do need to share data, just create a shared memory-region (using page-tables) that multiple processes can use. Take, for example, my “packet counter” examples above. Each Snort process can open up its packet counters in a shared-memory region (using the memory-mapping/page-table feature of the operating system). This would allow another process to read all the packet counters of the individual processors and sum them together, and report the combined packet counters of all the processes.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
In other words, a redesigned multi-threaded Snort would put a lot of structures in “thread local storage” anyway. A better design is a multi-process Snort is goes the other direction to move stuff into shared “memory mapped” regions among the process. It’s fundamentally the same thing, especially on Linux where processes/threads are equivalent anyway.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
What I’m trying to show you here is that “multi-core” doesn’t automatically mean “multi-threaded”. Snort is single-threaded, but a multi-core product. It doesn’t actually use memory-mapping to share data among processes, and therefore lacks some features, but they probably will in the future.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
I mention Snort because it’s also a good example for playing around with Linux features. In theory, Snort can act as an “IPS”, inline with network traffic where good traffic is forwarded and bad traffic is blocked. In practice, this is a bad idea. It’s a bad idea because the Linux kernel switch out a packet processing thread for a few milliseconds, cause enormous jitter problems in Snort. You don’t want this to happen.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The way to fix Snort’s jitter issues is to change the Linux boot parameters. For example, set “maxcpus=2”. This will cause Linux to use only the first two CPUs of the system. Sure, it knows other CPU cores exist, it just will never by default schedule a thread to run on them.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Then what you do in your code is call the “pthread_setaffinity_np()” function call to put your thread on one of the inactive CPUs (there is Snort configuration option to do this per process). As long as you manually put only one thread per CPU, it will NEVER be interrupted by the Linux kernel. Only if you schedule two threads on a CPU will the interruption happen. Thus, you configure each Snort to run on its own dedicates Snort, and a lot of the jitter in IPS mode goes away.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
You can still get hardware interrupts, though. Interrupt handlers are really short, so probably won’t exceed your jitter budget, but if they do, you can tweak that as well. Go into “/proc/irq/smp_affinity” and turn of the interrupts in your Snort processing threads.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
At this point, I’m a little hazy at what precisely happens. What I think will happen is that your thread won’t be interrupted, not even for a clock cycle. I need to test that using “rdtsc” counters to see exactly when your thread might be interrupted. Even if it is interrupted, it should be good for less than 1-microsecond of jitter. Since an L3 cache miss is 0.1 microseconds of jitter, this is about as low as you can practically get.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Of course, the moment you use a “pthread_mutex_t” in your code for synchronization, then you will get a context switch, and this will throw your entire jitter budget out the window, even if you have scheduled CPUs correctly.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Conclusion&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
The overall theme of my talk was to impress upon the audience that in order to create scalable application, you need to move your code out of the operating system kernel. You need to code everything yourself instead of letting the kernel do the heavy lifting for you. What I’ve shown in this post is how this applies to thread synchronization. Your basic design should be one thread per core and lock-free synchronization that never causes a thread to stop and wait.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;direction: ltr; text-align: left;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Georgia, Times, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18.578125px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Times, serif; font-size: 14px; line-height: 18.578125px; text-align: left;&quot;&gt;&lt;div style=&quot;direction: ltr;&quot;&gt;
Specifically, I’ve tried to drill into you the idea that what people call “multi-threaded” coding is not the same as “multi-core”. Multi-threaded techniques, like mutexes, don’t scale on multi-core. Conversely, as Snort demonstrates, you can split a problem across multiple processes instead of threads, and still have multi-core code.&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/1707961926274682472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2013/04/multi-core-scaling-its-not-multi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1707961926274682472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1707961926274682472'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2013/04/multi-core-scaling-its-not-multi.html' title='Multi-core scaling: it’s not multi-threaded'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6US7ULz7fN3VA84VROHc5a5yRCiNNDdO8reFNwjtHrRwXBJgSQnngv7OQR0Ui0desQnBQ8OTEnRw2a6XVtRuiRXfL3cporDcPWgn9AjBgW3lJ4NnPJt0zahO0uFMRNvI2WIeSLpe-A8/s72-c/CPU+core+scaling.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5757193781061425127</id><published>2012-02-09T05:02:00.000-08:00</published><updated>2012-02-09T05:02:14.379-08:00</updated><title type='text'>Object Serialization</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;bbc_center&quot; style=&quot;background-color: #fafbfc; color: #5d5d5d; display: block; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: center;&quot;&gt;&lt;span style=&quot;text-align: right;&quot;&gt;بدون مقدمات اليوم حابب اكتب درس في الobject serialization بالعربي تسلسل الكائنات&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;هاذا الموضوع من المواضيع المتقدمة في بيئة ال.NET&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;قبل لبدء هناك تعريف يجب ان تكون عزيزي القارئ تعلمه وهو&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;معنى الobject instant&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;او بالعربي نسخة الكائن ---&amp;gt;انه عندما نقوم بخلق object من class فانة يتم انشاء مساحة في الذاكرة تحتوي بيانات الobject&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;بالمختصر هي المنظقة في الذاكرة التي تحمل بيانات object تم انشائه من class.&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;...........................................................................................................................................................................................&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 21px; line-height: 19px; text-align: right;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;الان نبدأ على بركة الله&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;معنى&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;object serialization&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&amp;nbsp;:-هي عملية حفظ object instant في stream&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;معنى&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Deserializing&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;:-العكس&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 17px; line-height: 19px; text-align: right;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ما اهميته :-&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;الاهمية كبيرة فليس هناالك شيء لا يوجد له اهمية&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;واهميته تكمن في الابقاء على حياه الobject اي الobject لا يموت ابدا&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;بحيث يكون محفوظ في مكان في القرص الصلب او ممكن ان تنقله عبر الشبكة وممكن انك تتناقله من flash الى flash&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;ووقت ما تريد استدعائه تستدعيه&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;وكيف ذلك الان سوف نرى ذلك بالعملي&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;سوف اطبق الامثلة بلغة الc# و vb&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;--------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 17px; line-height: 19px; text-align: right;&quot;&gt;&lt;span class=&quot;bbc_underline&quot; style=&quot;border-bottom-color: rgb(119, 119, 119); border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 1px;&quot;&gt;&lt;br /&gt;
نبدا بالجزء الاول وهو Binary Serialization&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;em class=&quot;bbc&quot; style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/em&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 17px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;الخطوات لعمل الserialization&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;1-خلق الكائن او الobject من الclass وهذا الobject هو الذي سوف نعمل له الserialization&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;2-نقوم بعمل stream الذي يحفظ فيه الobject&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;3-نقوم بخلق object من نوع binary serialization الذي من خلاله اقدر ان استدعي عملية ال serialization التي تستقبل 2parameter الاول يمثل الstream والثاني الobject&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;font-size: 17px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;خطوات عمل Deserializing&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;1-عمل مؤشر الذي سوف يشير الobject الذي سوف نستدعيه&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;2-عمل stream الذي يمثل مسار الobject الذي نريده&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;3-نقوم بخلق object من binary serialization الذي من خلاله نقدر من استدعاء عملية الDeserialize والتي تستقبل 1parameter وهو الstream وهي ترحع قيمة من نوع object اي يجب عمل لها convert للنوع الذي نريده&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 21px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;الجزء العملي&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fafbfc; color: lime; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;&lt;span style=&quot;font-size: 26px;&quot;&gt;مثال&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;c#&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;هنا عملية serialization&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;expand_code&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; display: inline; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;expand |&lt;/a&gt;&amp;nbsp;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-size: 11px; height: 300px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Collections&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Generic&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ComponentModel&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Drawing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Linq&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Windows&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Forms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;IO&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Runtime&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Formatters&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Binary&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;namespace&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;WindowsFormsApplication3&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;partial&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;InitializeComponent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1_Load&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; sender&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;EventArgs&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هذه الميثود تمثل عملية ال&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//serialize&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هنا عرفنا مصفوفة من العناصر &amp;nbsp;التي سوف نطبق علىها العملية&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&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; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&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; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&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; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;};&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هنا عرفنا المسار الذي سوف نحفظ فيه الكائن&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileStream&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; stream &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;File&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Open&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;object.mm&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileMode&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;OpenOrCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هنا عملية &amp;nbsp;خلق كائن من نوع ال&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//التي من خلالها نقدر ان نعمل عملية ال&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//serialize and Deserialize&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//srlilize &lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//تستقبل متحولين الاول يمثل الستريم والثاني الكائن الذي &amp;nbsp;نريد حفظه&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serobj &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serobj&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialize&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Close&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&lt;/span&gt;&lt;/pre&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;وهنا الDeserializing&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;expand_code&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; display: inline; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;expand |&lt;/a&gt;&amp;nbsp;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-size: 11px; height: 300px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Collections&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Generic&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ComponentModel&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Data&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Drawing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Linq&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Text&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Windows&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Forms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;IO&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Runtime&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Formatters&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Binary&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;namespace&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;WindowsFormsApplication3&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;partial&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;InitializeComponent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1_Load&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; sender&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;EventArgs&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserializing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هذه الميثود تمثل عملية ال&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Deserialize&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;


&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserializing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array2 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileStream&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; stream &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;File&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Open&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;object.mm&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileMode&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;OpenOrCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serobj &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//هنا عملنا تحولي تحويل للكائن الذي سوف نستدعيه الى النوع الذي نريده وهو&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//integger&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//لانو يرجع من نوع &lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array2 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[])(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;serobj&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserialize&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)));&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Close&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//الان لنرى النتيجة&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MessageBox&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Show&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;array2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ToString&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;,&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ToString&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;,&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ToString&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;());&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;الكود بلغة الvb&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;اولا serialization&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;expand_code&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; display: inline; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;expand |&lt;/a&gt;&amp;nbsp;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-size: 11px; height: 300px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Imports&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;IO&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Imports&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Runtime&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Formatters&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Binary&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1_Load&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ByVal&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; sender &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ByVal&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;EventArgs&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Handles&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MyBase&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;End&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;هذه الميثود تمثل عملية ال
&amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;serialize
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;هنا عرفنا مصفوفة من العناصر &amp;nbsp;التي سوف نطبق علىها العملية
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim array As Integer() = {1, 2, 3}

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;هنا&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;عرفنا&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;المسار&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الذي&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;سوف&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;نحفظ&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;فيه&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الكائن&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; stream &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileStream&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;File&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Open&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;object.mm&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileMode&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;OpenOrCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;هنا عملية &amp;nbsp;خلق كائن من نوع ال
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;التي من خلالها نقدر ان نعمل عملية ال
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;serialize &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;and&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserialize&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;srlilize 
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;تستقبل&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;متحولين&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الاول&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;يمثل&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الستريم&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;والثاني&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الكائن&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;الذي&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;نريد&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;حفظه&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serobj &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;New&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serobj&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialize&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Close&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;End&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; 

&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;End&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&lt;/span&gt;&lt;/pre&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot;&gt;وهنا العملية العكسية منها&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;expand_code&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; display: inline; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;expand |&lt;/a&gt;&amp;nbsp;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=243308&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-size: 11px; height: 300px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Imports&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;IO&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Imports&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Runtime&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Serialization&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Formatters&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Binary&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Form1_Load&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ByVal&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; sender &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ByVal&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;EventArgs&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Handles&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MyBase&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserializing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;End&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;هذه الميثود تمثل عملية ال
&amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserialize&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Sub&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserializing&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; array2 &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Integer&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; stream &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileStream&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;File&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Open&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;object.mm&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;FileMode&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;OpenOrCreate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Dim&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; serobj &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;As&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;New&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;BinaryFormatter&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;هنا عملنا تحولي تحويل للكائن الذي سوف نستدعيه الى النوع الذي نريده وهو
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;integger
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;لانو يرجع من نوع 
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array2 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;CType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;serobj&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Deserialize&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Integer&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stream&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Close&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;

&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;الان لنرى النتيجة
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageBox.Show(array2(0).ToString() + &quot;,&quot; + array2(1).ToString() + &quot;,&quot; + array2(2).ToString())

&amp;nbsp; &amp;nbsp; End Sub


End Class
&lt;/span&gt;&lt;/pre&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: right;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5757193781061425127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/object-serialization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5757193781061425127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5757193781061425127'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/object-serialization.html' title='Object Serialization'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-8031648432920977045</id><published>2012-02-09T02:32:00.000-08:00</published><updated>2012-02-09T02:32:40.760-08:00</updated><title type='text'>هل انت مطور &quot;Developer&quot; ام مبرمج &quot;Programmer&quot;</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;كل واحد منا بيتعلم البرمجة لكنة لا يعرف ان شخصيتة ستؤثر على عالمة البرمجى&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;باختصار يوجد مصطلحين لمهنسى البرمجيات&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;Developer&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;Programmer&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;…يوجد اختلاف شاسع بين الاتنين فى الحياة العامة قبل الحياة البرمجية&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;لكى تعرف هل انت تنتمى الى اى نوع من الاتنين جاوب على الاسئلة القادمة&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;اولا: اذا تحدث اليك شخص واختلفتم فى النقاش وانت مقتنع تماما بما تقول&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;1- اصر على رايى حتى لو رحنا القسم&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;2-عادى اخد الموضوع بسلاسة وممكن اغير الموضوع&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;ثانيا: اية نوع ملابسك&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;1-الكلاسيك&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;2-الكاجول&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;ثالثا : اية هية تسريحة شعرك&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;1-من ايام السبعينات&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;2-بحط جل فى شعرى&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;اذا كنت من الفئة الاولى فانت Programmer&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;اما الفئة الثانية فهم Developer&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;اليكم شرح تفصيلى للفروق فى الحياة البرمجية&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;لمبرمج: هو شخص يقدر الاكواد بشكل جنوني، وجل وقته وكل اهتماماته وتركيزه في كتابتها.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;أسعد لحظات حياته عندما يقرأ كود لشخص آخر او فك شيفرة مصدرية لتطبيق شهير. يميل&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج إلى التصميم منخفض المستوى Low Level Design ككتابة الدوال Functions&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;والبارامترات وكل عبارات التكرار وجمل الشرط التي بداخلها. ويثير غريزته الفطرية الاحتكاك&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;واللعب مع الذاكرة Memory كثيرا.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: الكود يكون شيء ثانوي دائما في حياته، وفكرة الكود هي الأهم. أسوأ لحظات عمره&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;عندما يطلب منه تنقيح كود Code Debugging وقراءته (فهو يكره حتى قراءة الشيفرات التي&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;كتبها!). يميل المطور الى التصميم عالي المستوى High Level Design، ويعطي جل اهتماماته&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;في التصميم الكائني Object Oriented Design او المعماري Architecture Design،&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;كما يحب أن يرى التطبيق من الخارج اكثر من الداخل.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• في البرمجة:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: يكتب الكود دائما بطريقة احترافية وممتازة ومختصرة جدا وعالية الكفاءة Optimized&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;أيضا، كما انه يستهلك جميع إمكانيات اللغة بكافة مكتباتها التنفيذية. ولكن لو قرأت شيفراته&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المصدرية، فهي ليست منظمة ويصعب فهمها او تتبعها (كما لو أنها مخطوطة فرعونية).&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يكتب الكود بطريقة احترافية لكنها اقل اختصارا واقل كفاءة من المبرمج.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;تنظيمه للشيفرات ممتاز، ولو تقرأ كوده ستفهمه بسرعة (كما لو أنها قصة أطفال).&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• في كتابة التعليقات:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: ذكرت قبل قليل ان المبرمج دائما ما يستهلك ويستفيد من جميع إمكانيات اللغة،&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;ولكن التعليقات Comments هي الميزة الوحيدة في اللغة التي لا يستخدمها!&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: لا يكتب التعليقات وحسب بل يهتم كثيرا في صياغتها وتنسيقها&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;(خاصة في أعلى الملف)، لدرجة أنك قد تجد سطور اللون الأخضر اكثر بكثير&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;من سطور الألوان الأخرى!&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• اختيار اللغات:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: يحب اللغات ((الغير)) مستخدمة بكثرة والتي يبتعد عنها أكثر الناس، كلغة التجميع&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;Assembly او C، وإن تطور أكثر وأراد ان يخفف الضغط على نفسه، تعامل مع C++ أو Delphi.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يفضل اللغات التي تزيد من إنتاجيته Productivity، لغة Visual Basic هي أول وآخر&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;اهتماماته، والـ Java اختيار ممتاز بالنسبة له أيضا. ولو تعامل مع لغات معقدة اكثر،&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;فتأكد وثق ثقة تامة ان له حاجة ما في نفس يعقوب ولن يستخدمها في مشروعه الحقيقي!&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• بيئات التطوير:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: المفكرة Notepad اختياره الأول، ويفضل الادوات التي تعمل على DOS Prompt&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;(او حتى التي تحاكيها على Windows Environment).&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: Visual Studio 2005 من افضل الخيارات لديه (حاليا)، أو اي بيئة تطوير تزيد&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;من إنتاجيته وتقدم له خدمات 5 نجوم 5 Stars.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• نوعية المشاريع:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: يعشق المشاريع الدنيا Low Level كمشاريع النظم System Projects، او كتابة&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المشغلات Devices، او تلك البرامج التي تتعامل مع الموارد System Resources&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;بشكل جريء. كما يعتبر الشخص المناسب لمشاريع الالعاب او الوسائط المتعددة.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: تطبيقات الأعمال Business Applications (والتي ركن من اركانها التعامل مع قاعدة&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;بيانات Database) هي حلمه وشغله الشاغل فقط -ولا يريد سواها. ومع تطور خدمات&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;ويب Web-Services، اصبح من عشاقها.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• في كتابة المستندات Documents:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: من عاشر المستحيلات! وقد يقدم استقالته إن طلبت منه ذلك.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يكره كتابة المستندات (كثيرا)، ولكنه لن يقدم استقالته إن طلب منه ذلك.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• إن سألته سؤال:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: يظن أنك تقرأ أفكاره وتفهم كثيرا في الأمور الفنية وقد تسمع عبارات&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;مثل: لا أستطيع ارسال قيمة المؤشر Pointer مع مكتبة DLL بسبب خروجها عن مساحة&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;العنونة Address Space خاصة ان كانت خارج العملية المنفذة Running Process&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;(او حتى بحقن المكتبات DLL Injection) والتي قد تسبب خطأ Fatal Error في حالة تطبيق&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;رد CallBack او اعتمادي على خطف الرسائل Message Hooking بسبب مسالة&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;الـ Protected Mode!&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يحاول قدر الإمكان تبسيط الأمور وعدم التوغل في التفاصيل التقنية (فحتى هو لا يريد)،&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;وقد تسمع منه عبارات مثل: عندما تريد إضافة سجل في جدول العمليات، لابد ان يكون العميل&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;مسجلا في جدول العملاء، والسبب ان احد متطلبات جدول العمليات تعبئة قيمة حقل تمثل&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;رقم العميل.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• في المظهر الخارجي:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: تجده صاحب قصات شعر غريبة وليست تقليدية كما لا يحب الملابس الرسمية Uniform.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يعطي مظهره الخارجي اهتمام لا بأس به، صحيح أنه لا يصل لاهتمام مسئولو&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;خدمات العملاء ولكنه يستعمل العطور أيضا.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;• أكثر موضوع يتجنبه ولا يفقه:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المبرمج: المواضيع التي تتحدث عن هندسة البرامج وتصميم التطبيقات كنماذج التصميم&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;Design Pattern او حسابات التكلفة Cost Managment او أوقات التسليم Deadlines.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المطور: يقدر المواضيع السابقة ولكنه لا يطيق التحدث عن الأمور الدنيا كالمسجلات في&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;المعالج Registers in the Proccessor ولغة الـ Assembly، او ادارة الذاكرة Memory Managment&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;وتطوير النظم Systems Development، او جتى اجراءات Windows API.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: right;&quot;&gt;&lt;strong&gt;فهل انت مبرمج ام مطور؟&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/8031648432920977045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/developer-programmer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/8031648432920977045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/8031648432920977045'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/developer-programmer.html' title='هل انت مطور &quot;Developer&quot; ام مبرمج &quot;Programmer&quot;'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5079863483169199167</id><published>2012-02-09T01:46:00.000-08:00</published><updated>2012-02-09T01:46:28.708-08:00</updated><title type='text'>&quot;Programmer&quot; is an Overgeneralization</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;Earlier today, I came across a post during a google-fu session that claimed that no one should use the C++ standard library function make_heap, because almost nobody uses it correctly. I immediately started mentally ranting about how utterly ridiculous this claim is, because anyone whose gone to a basic algorithm class would know how to properly use make_heap. Then I started thinking about all the programmers who don&#39;t know what a heap is, and furthermore probably don&#39;t even need to know.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;Then I realized that both of these groups are still called programmers.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;When I was a wee little lad, I was given a lot of very bad advice on proper programming techniques. Over the years, I have observed that most of the advice wasn&#39;t actually bad advice in-of-itself, but rather it was being given without context. The current startup wave has had an interesting effect of causing a lot of hackers to realize that &quot;performance doesn&#39;t matter&quot; is a piece of advice riddled with caveats and subtle context, especially when dealing with complex architectures that can interact in unexpected ways. While this broken telephone effect arising from the lack of context is a widespread problem on its own, in reality it is simply a symptom of an even deeper problem.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;The word programmer covers a stupendously large spectrum of abilities and skill levels. On a vertical axis, a programmer could barely know how to use vbscript, or they could be writing compilers for Intel and developing scientific computation software for aviation companies. On a horizontal axis, they could be experts on databases, or weeding performance out of a GPU, or building concurrent processing libraries, or making physics engines, or doing image processing, or generating 3D models, or writing printer drivers, or using coffeescript, HTML5 and AJAX to build web apps, or using nginx and PHP for writing the LAMP stack the web app is sitting on, or maybe they write networking libraries or do artificial intelligence research. They are all programmers.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;This is insane.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;Our world is being eaten by software. In the future, programming will be a basic course alongside reading and math. You&#39;ll have four R&#39;s - Reading, &#39;Riting, &#39;Rithematic, and Recursion. Saying that one is a programmer will become meaningless because 10% or more of the population will be a programmer on some level. Already the word &quot;programmer&quot; has so many possible meanings it&#39;s like calling yourself a &quot;scientist&quot; instead of a physicist. Yet, what other choices do we have? The only current attempt at fixing this gave a paltry 3 options that are just incapable of conveying the differences between me and someone who graduated from college with a PhD in artificial intelligence. They do multidimensional mathematical analysis and evaluation using functional languages I will never understand without years of research. I&#39;m supposed to write incredibly fast, clever C++ and HLSL assembly while juggling complex transformation matrices to draw pretty pictures on the screen. These jobs are both extremely difficult for completely different reasons, and neither person can do the other persons job. What is good practice for one is an abhorration for the other. We are both programmers. Even within our own field, we are simply graphics programmers or AI programmers or [x] programmers.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;Do you know why we have pointless language wars, and meaningless arguments about what is good in practice? Do you know why nobody ever comes to a consensus on these views except in certain circles where &quot;practice&quot; means the same thing to everyone? Because we are overgeneralizing ourselves. We view ourselves as a bunch of programmers who happen to specialize in certain things, and we are making the mistake of thinking that our viewpoint applies outside of our area of expertise. We are industrial engineers trying to tell chemists how to run their experiments. We are architects trying to tell English majors how to design an essay because we both use lots of paper.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;This attitude is deeply ingrained in the core of computer science. The entire point of computer science is that a bunch of basic data structures can do everything you will ever need to do. It is a fallacy to try and extend this to programming in general, because it simply is not true. We are forgetting that these data structures only do everything we need to do in the magical perfect land of mathematics, and ignore all the different implementations that are built for different areas of programming, for completely different uses. Donald Knuth understood the difference between theory and implementation - we should strive to recognize the difference between theoretical and implementation-specific advice.&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot;&gt;It is no longer enough to simply ask someone if they are a programmer. Saying a programmer writes programs is like saying a scientist does science. The difference is that botanists don&#39;t design nuclear reactors.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5079863483169199167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/programmer-is-overgeneralization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5079863483169199167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5079863483169199167'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/programmer-is-overgeneralization.html' title='&quot;Programmer&quot; is an Overgeneralization'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5373670380297556189</id><published>2012-02-08T15:41:00.000-08:00</published><updated>2012-02-08T15:41:18.003-08:00</updated><title type='text'>Where you see yourself in five years</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
هل قابلك هذا السؤال في المقابلة الشخصية &quot;Where you see yourself in five  years&quot; ، عندما يسألنى أحدهم هذا السؤال استرجع في مخيلتي مشهد من فيلم a  certain Twisted Sister و الذى يسأل يقول فيه المدرس للطالب : what do you  wanna do with your life .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
أكيد الإجابة : عايز تعيش حياتك (I wanna rock)، طبيعي جدا . ومن نوعيه هذا السؤال سؤال &quot;what&#39;s your greatest weakness&quot; .&lt;br /&gt;
على الرغم من ذلك أعتقد أنها من الأسئلة الجدية التى يجب أن تعيرها اهتمامك ، ليس من أجل المقابلة الشخصية ، و لكن لمصلحتك الشخصية .&lt;br /&gt;
فسؤال &quot;Where you see yourself in five years&quot; هو من نوعيه الأسئلة التى  تطلق عنان لسان المتقدم للوظيفة ، و معظم الناس يحضر مجموعة ردود جاهزة  لهذا السؤال .و لكن هناك جوانب أعمق لهذا السؤال : ما هو مسارك المستقبلى  في مجال البرمجة ؟&lt;br /&gt;
طبعا ، نحن في هذا المجال لأننا نحبه ، و لكن هل ستوك جالسا أمام الكمبيوتر  و عمرك 50 عام؟ و اذا وصلت 60 ؟ ما هو أفضل دخل ممكن للمبرمج الذى يطمح أن  يكون … مبرمج ؟&lt;br /&gt;
ماذا لو أخبرتك أن هناك ثمان مستويات من المبرمجين .&lt;br /&gt;
&lt;br /&gt;
8-Dead Programmer – المبرمج الميت&lt;br /&gt;
و هو أعلى المراتب ،فقد نجت أكوادك بعد موتك . و أنت الآن جزء من  التاريخ الدائم للبرمجة .و بقية المبرمجين يعكفون على دراسة اعمالك و  كتاباتك . قد تكون حصلت على بعض الجوائز , أو كتبت بعض الأوراق المؤثرة ،  أو اخترعت واحدة أو أكثر من التقنيات التى غيرت مسار البرمجة الذى نعرفه .و  بالبطبع ليس لديك صفحة واحدة عنك في ويكيبيديا ، و لكن العديد من المواقع  التى تدرس حياتك و أعمالك .&lt;br /&gt;
القليل جدا من المبرمجين استطاعوا تحقيق هذا خلال حياتهم .&lt;br /&gt;
أمثلة : Dijkstra, Knuth, Kay&lt;br /&gt;
7- Successful Programmer – المبرمج الناجح&lt;br /&gt;
هم المبرمجين الذين استطاعوا تحقيق الشهرة وادارة أعمال تجارية ضخمة  قائمة على أكوادهم . و هم الذين أعطوا انفسهم الحرية ، حرية أن يقرروا  لأنفسهم ماذا يريدون أن يحققوا في هذة الحياة.&lt;br /&gt;
هذا المستوي من المبرمجين يجب ان يطمح اليه أى مبرمج ، و الوصول الى  هذا المستوي يعتمد أكثر على المهارات العمل و المهارات التجارية أكثر من  مهارات البرمجة .&lt;br /&gt;
أمثلة : Gates, Carmack, DHH&lt;br /&gt;
6- Famous Programmer – المبرمج المشهور&lt;br /&gt;
على الأرجح تعمل في تقنية كبيرة و عالمية و سمع بك المبرمجون الآخرون .  و هذا مكان جيد لك كمبرمج ، بشرط أن يكون لك وظيفة ثابتة .&lt;br /&gt;
و لكن الشهرة لا تعني أنك يمكنك تحقيق مكاسب مادية منها ، فالشهرة جيدة لكن النجاح (Successful Programmer) أفضل .&lt;br /&gt;
5- Working Programmer – المبرمج العامل&lt;br /&gt;
لديك وظيفة ناجحة كمطور برامج (software developer)، مهاراتك دائما  مطلوبة ، و لا تحتاج للبحث طويلا أو تجد مشقة عندما تبحث عن عمل ، كما تحظى  باحترام زملائك من المبرمجين ، و تركت بصمتك في كل شركة عملت بها .&lt;br /&gt;
لكن أين ستنطلق من هذة النقطة ؟&lt;br /&gt;
4- Average Programmer – المبرمج المتوسط&lt;br /&gt;
في هذا المستوي أنت جيد كفاية و لكن تدرك أنك لست مبرمج عظيم ،و احتمال  كبير أن تبقى كذلك. فالموهبة غالبا عليها عامل صغير في النجاح ، و يمكن أن  تكون ناجحا جدا إذا امتلك مهارات العمل و التواصل مع الناس.&lt;br /&gt;
إذا كنت مكن هذا النوع من المبرمجين ، و كنت تخطط لكسب عيشك ، فيجب  عليك تنمية موهبتك ، قد تكون موهبتك خارج مجال كتابة الأكواد . فقط أكتشف  مجال موهبتك و دوووووووووس .&lt;br /&gt;
3-Amateur Programmer - المبرمج الهاوي&lt;br /&gt;
المبرمج الهاوي يحب كتابة الأكواد، و قد يكون طالب واعد أو مترب أو حتى  مشارك في مشروع برامج مفتوحة ، أو يقوم بعمل تطبيقات للمتعة فقط في اوقات  فراغه .&lt;br /&gt;
من الجيد أن تكون مبرمج هاوي ، و من هذا المستوي ممكن أن تنطلق الى المبرمج العامل .&lt;br /&gt;
2- Unknown Programmer - المبرمج المجهول&lt;br /&gt;
على الأرجح تعمل في أي شركة كبري ، و تعمل على المكونات الداخلية ، انها مجرد وظيفة و ليست حياة متكاملة.&lt;br /&gt;
1- Bad Programmer - المبرمج السيئ&lt;br /&gt;
هم اؤلئك الذين دخلوا مجال البرمجمة بشكل او باخر بدون المهارات  الكافبة .و كل ما لمسوه تحول الى ألم و معاناة كبير للذين تتبعوا برامجهم .&lt;br /&gt;
هؤلاء ليس لهم علاقة بكتابة الكود بأي حال من الأحوال ، على الرغم من أنهم يكتبوه !!&lt;br /&gt;
&lt;br /&gt;
هذه المستويات ليست جادة تماما ، فليس كل المبرمجين يطمحون لنفس الأشياء في  حياتهم المهنية . لكنها تسلط الضوء على ما الذى يمكن أن يحققه المبرمج في  عشر سنين او حتى عشرين او ثلاثين سنة و ربما طوال حياته .&lt;br /&gt;
فأي المبرمجين تطمح أن تكون ، باختصار what do you wanna do with your life&lt;br /&gt;
** هذه المقالة مترجمة عن مدونة Coding Horror ، و أتفق مع كاتبها في العديد من النقاط&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5373670380297556189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/where-you-see-yourself-in-five-years.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5373670380297556189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5373670380297556189'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/where-you-see-yourself-in-five-years.html' title='Where you see yourself in five years'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-500416198485988748</id><published>2012-02-08T14:55:00.000-08:00</published><updated>2012-02-08T14:55:53.674-08:00</updated><title type='text'>ايهم افضل فى سوق العمل  web  Application  Or Windows Application</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;جائنى منذ قليل &amp;nbsp;سوال من احدى الطلاب &amp;nbsp;عن ايهم افضل فى سوق العمل &amp;nbsp;web&amp;nbsp; Application&amp;nbsp;&amp;nbsp;Or Windows Application&lt;br /&gt;
&lt;br style=&quot;background-color: #fafbfc;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;انا الان فى حيرة اثناء تفكيري فى عمل مشروع بسيط يعتمد على قواعد بيانات واستعلامات , والحيرة سببها اني متردد فى عمل تطبيق سطح مكتب عادي باالدوت نت او عمله بال PHP وتشتغيله باستخدام سيرفر محلي . بالنسبة لي جربت الاثنين والنتائج متشابهة ومع ذالك اميل لاستخدام تطبيق ويب . فما رائيكم وهل لاحد الاخوة تجارب فى هذا الموضوع ؟&amp;nbsp;&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;الاجابه كما يلى&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;ضع مميزات كل نوع امامك ... ثم حدد متطلبات العملاء ... واختار النوع المناسب لهذه المتطلبات بناءا على مميزات كل نوع&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;1 - تطبيق الويب تقدر تفتحه من متصفح يعمل على اى نظام تشغيل&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;2 - تطبيق الويب تعدل فى مكان واحد يظهر التعديل لدى الجميع بدون تحميل او اعادة تحميل اى شىء عندهم&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;3 - تطبيق الويب سهل تدخل عليه من اى مكان خارجى عبر الانترنت طالما فى هناك موقع خاص بالتطبيق&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;4 - تطبيق الويب السورس الخاص بك غالبا محمى بحماية الخادم لانه ليس لدي المستخدم حتى يعبث به بسهولة&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;5 - يمكن ان تقدم تطبيق الويب بشكل مجانى وتلغى مجانيته فى اى وقت لانك تملك الخدمة ويمكن ان تقدمه مجانا لفئة وتجاري لفئة اخري&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;------------------------&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;1 - الديسك توب واجهة المستخدم لديك فيها تحكم كامل بمستوي اعلى من تطبيقات الويب من حيث سهولة التطوير وسرعة التطبيق اثناء العمل&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;2 - الديسك توب برمجته قد تتم بلغة برمجة واحدة بسهولة واستخدام اكثر من لغة برمجة اختياري&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;3 - الديسك توب غالبا سريع جدا مقارنة بتطبيقات الويب خصوصا اذا كان التطبيق الديسك توب مكتوب بلغة مثل ++C ذات الاداء العالى واستخدمها مبرمج يتقنها&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;4 - سهولة التعامل مع نظام التشغيل مباشرة&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;5 - سيطرة كاملة على الجهاز مالم يقيدك نظام التشغيل&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;6 - سهولة التفاعل مع البرامج الاخري على الجهاز&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;هذه النقاط كتبتها لك من واقع الخبرة العملية واتمنى ان تفيدك فى القرار&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;مثلا بالنسبة للميزة رقم (1) التى ذكرتها فى الويب&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;حتى توفرها فى الديسك توب تحتاج استخدام لغات تدعم اكثر من نظام مثل Java او تستخدم ++C او Python او Ruby مع مكتبات مثل Qt او Gtk او wxWidgets وغيرها&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;وهذا يقيدك فى لغات محددة (مع حبى لهذه اللغات واستخدامي لها) لكن ذكرت الدوت نت كمنصة مما يجعلنى اتوقع استخدامك ل #C او VB.NET&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;وهما يعملان على Windows بشكل اساسى ودعم الانظمة الاخري من خلال MONO يحتاج منك تجارب عملية قبل ان تثق فى هذا الطريق.&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;بالنسبة لى فى العمل على المستوي الشخصي&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;احد التطبيقات التى قمنا بها فى الفترة الاخيرة قمنا بتطويره باصدارين&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;الاول كـ Windows-Desktop application ونطوره بتقنية البرمجة بدون كود PWCT ويستهدف قاعدة بيانات SQL Server&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;الثانى كـ Web application باستخدام ASP.NET مع #C مستهدفا نفس قاعدة البيانات&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;طبعا السبب الاساسى الذى جعلنا نقدم كلا التطبيقين ونحطط لهما من البداية&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;ان التطبيق ال Desktop يتميز بعمل Simulation محاكاة - تمثيل رسومي متحرك لسير المشاريع وبرمجتها كـ Desktop اسهل كثيرا من استخدام JS من حيث الوقت والمجهود&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;وميزة التطبيق ال Web بالنسبة لنا ... انه يوفر وصول للنظام من قبل مستخدمين MAC وايضا الوصول للنظام من خارج شبكة الشركة&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;لكن كلا التطبيقين يشتملان على التقارير وشاشات او صفحات البحث والاستعلام وادخال البيانات.&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;كان من الممكن ان نكتفى بنوع واحد&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;لكن فضلنا ان نقدم كلا النوعين حيث يتميز كل نوع بمميزات عن الاخر&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;والله الموفق&amp;nbsp;&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/500416198485988748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/web-application-or-windows-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/500416198485988748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/500416198485988748'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/web-application-or-windows-application.html' title='ايهم افضل فى سوق العمل  web  Application  Or Windows Application'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-1297467626788996469</id><published>2012-02-05T12:38:00.000-08:00</published><updated>2012-02-05T12:38:55.499-08:00</updated><title type='text'>هيا نتعلم شير بوينت</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;post_body&quot; style=&quot;background-color: #fafbfc; border-left-color: rgb(218, 218, 218); border-left-style: solid; border-left-width: 1px; margin-bottom: 25px; margin-left: 0px; margin-right: 250px; margin-top: 0px; padding-bottom: 32px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;div class=&quot;post entry-content &quot; id=&quot;&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 10px; margin-top: 0px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;&quot;&gt;المحتوى العلمى&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;- &amp;nbsp;اعداد البيئة التطويرية للشيربوينت .&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;- &amp;nbsp;برمجة وتطوير مكونات معينة للشيربوينت مثل webparts و lists و workflows.&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;- &amp;nbsp;تصفح وتشغيل مشاريع الشيربوينت.&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;- &amp;nbsp;نشر مكونات ومشاريع الشيربوينت.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اصبح &amp;nbsp;Microsoft SharePoint في السنوات الأخيرة احد اسرع خطوط التطور والإنتاج في شركة مايكروسوفت , فهو في الواقع &amp;nbsp;عبارة عن مجموعة من المنتجات والتقنيات المترابطة معاً والتي تقدم خدمات عظيمة في مجالات التوثيق document وادارة المحتويات content management والبحث search وتطبيقات الويب بشكل عام .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نستطيع أن نعرف الشيربوينت بانه Platform مرن جداً لتطبيقات الويب &amp;nbsp;يسمح لنا بتطوير ونشر كل شيئ ابتداءً من الwebparts المستقلة وانتهاءً بمشاريع الويب الكبيرة . وعلى الرغم من أنه يمكن استعمال الشيربوينت لاستضافة مواقع الويب التي هي موجهة للزوار لكن المجال الأنسب له هو في المواقع التي تتضمن عضويات مسجلين وبشكل محدد اكثر تلك المواقع التي تخدم احتياجات الموظفين ضمن منظمة أو شركة ما. حيث أن الشيربوينت يزود تلك المواقع بكل ما تلزم ويقدم لها تكامل مميز مع Microsoft Office اضافة إلى دعمه لكودات التحقق الداخلي والتصديق authorization وامكانية الوصول للبيانات الخارجية external data ويقدم ايضاً دعم مميز للworkflows.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سنسلط الضوء في هذه المقالة على ادوات SharePoint التطويرية في Visual Studio 2010 وسنوضح كيفية بناء مشاريع الشيربوينت وتنقيحها ونشرها.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;معلومة : اضافة إلى استعمال الفيجوال ستديو 2010 يمكنك انشاء مشاريع وحلول الشيربوينت باستعمال SharePoint Designer 2010 المجاني والذي يقدم نظرة سطحية منطقية عالية المستوى ويخفي كثير من الأمور الخلفية بعكس الفيجوال ستديو 2010 . يتضمن SharePoint Designer بعض ادوات WYSIWYG المميزة من اجل تصفح وتعديل المكونات بسهولة في مواقع الشيربوينت .&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;يمكننا اعتبار SharePoint Designer بأنه خيار رائع لغير المطورين (IT Professionals و المستخدمين end-users) لكن بكل الأحوال فهو يبقى مفيد كثيراً حتى للمطورين عند بناء مهام ترتيبة ومخططات للصفحة page layouts و master pages والتي يكون تطويرها في SharePoint Designer اسهل بكثير من الفيجوال ستديو . لذلك كثير من المطورين المتمرسين لا يستغنون عن هذه الأداة الرائعة .&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تحضير البيئة التطويرية للSharePoint 2010&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كان احد اكثر السلبيات للإصدارات السابقة من الشيربوينت أنها تتطلب استعمال windows server من اجل تطوير مشاريع الشيربوينت محلياً وذلك بسبب أن SharePoint 2007 وما قبله يحتاجون لنظام تشغيل سيرفر فكان يجب عليك أن تمتلك ويندوز سيرفر من اجل تنفيذ أي عملية تنقيح ومراجعة وتجريب لمشاريع الشيربوينت محلياً.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تم اخذ هذا الأمر بعين الإعتبار في SharePoint 2010 فيمكنك الان تنصيب الشير بوينت على ويندوز 7 او على الفيستا (sp1 فما فوق) اضافة لWindows Server 2008 . لكن لسوء الحظ سوف تحتاج لمواصفات عالية بعض الشيئ على الجهاز المحلي الذي تريد التطوير عليه لأن الشيربوينت 2010 يحتاج لنظام تشغيل 64 بت ويفضل أن يكون لديك 4GB للذاكرة RAM من اجل تنصيب SharePoint Foundation , اما اذا اردت تنصيب SharePoint Server فتحتاج من 6GB إلى 8GB من الذاكرة RAM .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;معلومة : الفرق بين SharePoint Server و SharePoint Foundation&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;اتانا الشيربوينت 2010 باصدارين رئيسيين : SharePoint Server و SharePoint Foundation . كان الأخير يدعى سابقاً ب Windows SharePoint Services (WSS) وهو الإصدار المجاني للشيربوينت وهو مخصص للشركات والمشاريع الصغيرة ويتضمن دعم للwebparts وتطبيقات الويب وادارة الوثائق document management ومكونات الويب الإجتماعية والتعاونية مثل المدونات blogs و wikis و الcalendars والنقاشات discussions .&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;اما من الناحية الاخرى فقد تم اصدار SharePoint Server للمؤسسات الضخمة والمشاريع المتقدمة , وتتطلب هذه النسخة تكلفة لمنتج السيرفر نفسه اضافة إلى Client access license (CAL) لكل مستخدم .&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تتضمن هذه النسخة من الشير بوينت جميع مميزات نسخة SharePoint Foundation اضافة لتزويدها بمواقع شيربوينت متعددة وتصفح متطور وبحث مفهرس index search ووصول للbackend data وتتميز ايضاً في دعم personalization و Single Sign ON .&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اذا لم تكن تبني مشروع يتطلب المميزات المتقدمة للSharePoint Server فالافضل لك أن تستعمل SharePoint Foundation والذي يتطلب موارد اقل للجهاز . ولذلك لأن كل شيئ تبنيه في SharePoint Foundation يمكن ان يعمل على SharePoint Server.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تنصيب المتطلبات&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اذا كان لديك ويندوز سيرفر فإن تنصيب الشيربوينت عليه هو امر سهل جداً . فنبدأ عملنا بتشغيل اداة فحص المتطلبات PrerequisiteInstaller.exe والتي تفحص وتنصب الإحتياجات المطلوبة بشكل تلقائي .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اما اذا كنت تريد التنصيب على انظمة ويندوز 7 او فيستا فالامر اصعب بقليل حيث أنه لا توجد لحد هذه اللحظة اداة مماثلة للمتطلبات فيجب عليك تنصيبها جميعا بشكل يدوي.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;هناك متطلب اخر يجب أن تنصبه مهما كان نظام التشغيل الذي تعمل عليه وهو&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;WCF Hotfix&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;للويندوز والذي يمكنك تحميله من هذه الروابط :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;Windows Vista أو &amp;nbsp;Windows Server 2008:&lt;/strong&gt;&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://go.microsoft.com/fwlink/?linkID=160770&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://go.microsoft..../?linkID=160770&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;Windows 7 &amp;nbsp;أو &amp;nbsp;Windows Server 2008 R2:&lt;/strong&gt;&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://go.microsoft.com/fwlink/?LinkID=166231&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://go.microsoft..../?LinkID=166231&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اما بالنسبة للشيربوينت نفسه فيمكنك تحميله من الروابط التالي:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;SharePoint Foundation 2010&lt;/strong&gt;&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=49c79a8a-4612-4e7d-a0b4-3bb429b46595&amp;amp;displaylang=en&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.microsoft...&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;SharePoint Server 2010&lt;/strong&gt;&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://technet.microsoft.com/en-us/evalcenter/ee388573.aspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://technet.micro...r/ee388573.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعد أن تقوم بتحميل الشيربوينت سوف يكون لديك ملف SharePoint.exe في حال حملت SharePoint Foundation أو OfficeServer.exe في حال حملت SharePoint Server . يجب أن نقوم بفك ضغط هذه الملفات لذلك قم بانشاء مجلد جديد مثل c:\SharePoint وقم بنسخ الملف الذي حملته اليه ومن ثم افتح قائمة ابدأ و شغل cmd ونفذ الأمر التالي:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:\&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;\&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;exe &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;extract&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:\&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;في حال قمت بتحميل SharePoint Server فنفذ نفس الخطوات السابقة بوضع OfficeServer.exe بدلاً من SharePoint.exe .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;ملاحظة : في حال كنت تنصب الشيربوينت من CD/DVD فهذه الخطوة غير ضرورية لان الملفات تكون مفكوكة الضغط وجاهزة.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;في حال كنت تنصب الشيربوينت على ويندوز سيرفر فقم بتشغيل PrerequisiteInstaller.exe وبعدها انتقل للقسم التالي من الشرح (تنصيب SharePoint 2010) اما اذا كنت تنصب الشيربوينت على ويندوز 7 او ويندوز فيستا فيجب عليك تنصيب المتطلبات التالي يدوياً :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة : كثير من هذه المتطلبات تنصب بشكل تلقائي عند تنصيبك للفيجوال ستديو 2010 و SQL Server 2008.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;NET Framework 4&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;: تنصب تلقائياً مع الفيجوال ستديو 2010&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Windows PowerShell 2.0&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تنصب تلقائياً مع الفيجوال ستديو 2010.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Windows Installer 4.5 Redistributable&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تنصب تلقائياً مع الفيجوال ستديو 2010&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Microsoft FilterPack 2.0&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: &amp;nbsp;يمكن أن تجده في نفس الملفات&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;c:\SharePoint\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Microsoft Sync Framework&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تنصب تلقائياً مع الفيجوال ستديو&amp;nbsp;2010&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;SQL Server 2008 Native Client&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تنصب تلقائياً مع SQL Server 2008.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Windows Identity Foundation Runtime Framework&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=EB9C345F-E830-40B8-A5FE-AE7A864C4D76&amp;amp;displaylang=en&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.microsoft...&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;ADO.NET Data Services&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تنصب تلقائياً مع الفيجوال ستديو 2010&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Chart Controls:&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&amp;amp;displaylang=en&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.microsoft...&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Microsoft ADOMD.NET:&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b33d2c78-1059-4ce2-b80d-2343c099bcb4&amp;amp;displaylang=en.&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.microsoft...displaylang=en.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعد ذلك يبقى خطوة اخيرة وهي الذهاب لwindows features عن طريق لوحة التحكم - Programs and Features وثم اجعل الخيارات كالصور التالية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img413.imageshack.us/img413/9538/27023600.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img413.imageshack.us/img413/9538/27023600.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img844.imageshack.us/img844/3654/40060112.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img844.imageshack.us/img844/3654/40060112.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لمعلومات اكثر عن المتطلبات انظر للمواضيع التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;متطلبات SharePoint Foundation 2010&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://technet.microsoft.com/en-us/library/cc288751.aspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://technet.micro...y/cc288751.aspx&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;متطلبات SharePoint Server 2010&lt;/span&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://technet.microsoft.com/en-us/library/cc262485.aspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://technet.micro...y/cc262485.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تنصيب&amp;nbsp;SharePoint 2010&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;الان بعد أن قمنا بتنصيب المتطلبات فيمكننا تنصيب SharePoint Foundation أو SharePoint Server . اذا كنت تعمل على ويندوز سيرفر يمكنك ببساطة تشغيل الinstaller : setup.exe اما اذا كنت تنصب على ويندوز 7 أو فيستا فسوف تحصل على الخطأ التالي عندما تحاول تشغيل setup.exe :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img690.imageshack.us/img690/2707/45041508.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img690.imageshack.us/img690/2707/45041508.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لازاله هذا الخطأ نحتاج لتعديل ملف الإعدادات config.xml والموجود في مجلد c:\SharePoint\files\Setup ونضيف السطر التالي&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;tag &amp;lt;configuration&amp;gt;ل :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;lt;Setting&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;Id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;”AllowWindowsClientInstall”&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;Value&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;”True”&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما نضيف هذا السطر زنحفظ التغييرات نقوم بتشغيل setup.exe ونتبع التعليمات في الinstaller ونختار Standalone installation &amp;nbsp;(تنصيب سيرفر جديد مستقل بالإعدادات الإفتراضية) وبعد انتهاء التنصيب سوف يتم تشغيل SharePoint Products Configuration Wizard وعند الإنتهاء من الwizard بنجاح سوف يتم فتح موقع الشيربوينت الإفتراضي في نافذة جديدة كما هو مبين:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img830.imageshack.us/img830/7902/62454644.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;div class=&quot;resized_img&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: #777777; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: white; font-size: 11px; padding-bottom: 4px; padding-left: 8px; padding-right: 8px; padding-top: 4px;&quot;&gt;Resized to 93% (was 1074 x 722) - Click image to enlarge&lt;/span&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img resized&quot; handled=&quot;1&quot; height=&quot;671&quot; newheight=&quot;671&quot; newwidth=&quot;998&quot; origheight=&quot;722&quot; origwidth=&quot;1074&quot; shrunk=&quot;1&quot; src=&quot;http://img830.imageshack.us/img830/7902/62454644.png&quot; style=&quot;border-bottom-color: rgb(119, 119, 119); border-bottom-style: solid; border-bottom-width: 6px; border-color: initial; border-image: initial; border-left-color: rgb(119, 119, 119); border-left-style: solid; border-left-width: 3px; border-right-color: rgb(119, 119, 119); border-right-style: solid; border-right-width: 3px; border-style: initial; border-top-color: rgb(119, 119, 119); border-top-style: solid; border-top-width: 3px; cursor: pointer; display: block; margin-bottom: 5px; vertical-align: middle;&quot; width=&quot;998&quot; /&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تصفح واستكشاف SharePoint 2010&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما ترى SharePoint &amp;nbsp;للمرة الاولى وتحاول استكشافه فانك سوف تتفاجأ وتصدم فيه وذلك لأن كثير من المصطلحات المستعملة في الشيربوينت ستكون غريبة عليك وغير اعتيادية حتى لو كنت محترف في ASP.NET . وقبل أن نبدأ بتطوير مشروع للشيربوينت فمن المفيد أن نفهم معاني بعض مكونات SharePoint مثل انواع المحتوى Content types و المميزات Features والevent receivers والقوائم lists والworkflows والweb parts .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تم تطوير الServer Explorer في الفيجوال ستديو ليقدم القدرة على استكشاف موقع الشيربوينت وتصفح مكوناته .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يجب عليك تشغيل الفيجوال ستديو بصلاحيات الأدمن حتى تتصل وتعمل connect لموقع الشيربوينت وحتى تطور وتجرب الSharePoint solution . ولعمل ذلك اضغط على اختصار الفيجوال ستديو 2010 بالزر الأيمن واختار Administrator Run as &amp;nbsp;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة : حتى تشغل الفيجوال ستديو 2010 بصلاحيات الأدمن دائماً قم بالضغط بالزر الأيمن على الإختصار واختار الخصائص properties وبعدها اختار تبويب Compatibility وضع صح على Run This Program as an Administrator .&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;افتح الServer Explorer عن طريق اختيار view وثم Server Explorer . يمكنك عمل connect &amp;nbsp;للشيربوينت فقط في حال كنت منصب الشيربوينت محلياً ويتم وضع الكونيكشن له تحت خيار SharePoint Connection بشكل افتراضي. يمكنك اضافة كونيكشن ل remote server &amp;nbsp;عن طريق الضغط على خيار SharePoint Connection بالزر الأيمن واختيار Add Connection.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما تختار مكون الشيربوينت في الServer Explorer فسوف يتم عرض خصائص ذلك المكون في صفحة الخصائص properties مع العلم أن هذه المعلومات هنا قابلة للقراءة فقط read-only .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;توضح الصور التالية الServer Explorer والخصائص لموقع الشيربوينت.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img242.imageshack.us/img242/1921/63708686.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img242.imageshack.us/img242/1921/63708686.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img143.imageshack.us/img143/9989/25675249.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img143.imageshack.us/img143/9989/25675249.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لقد رأينا حتى الان كيفية عمل كونكت واستعراض لموقع الشيربوينت فدعنا نفهم قليلاً بعض المصطلحات الأساسية المستخدمة في الSharePoint .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;-&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;&amp;nbsp;انواع المحتوى Content types&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;: تقدم طريقة لتعريف انواع خاصة ومتميزة مثل اعلان أو document ما . يمتلك content type عدة حقول fields مرتبطة معه والتي تعرف الmetadata للمحتوى , فمثلاً نوع المحتوى document الموضوع في الصورة التالية لديه حقول مثل عنوان الdocument وتاريخ اخر تعديل له .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمتلك نوع المحتوى content type ايضاً عدة properties والتي تعرف بعض الخصائص مثل القالب المستخدم للعرض والتعديل وانشاء instance لذلك الcontent type.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;المميزات Features :&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;هي مجموعة &amp;nbsp;من الموارد التي تمثل وظائف معينة بشكل منطقي logical set . فمثلاً يأتي مع الشيربوينت عدة features مثل قوائم الوثائق document lists والمكتبات document libraries وقوائم الإستفتاءات survey lists &amp;nbsp;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تحتوي الfeatures على قوالب templates وصفحات pages وتعريفات قوائم list definitions و workflows ويمكن ايضاً ان تحتوي على موارد اخرى مثل الصور وملفات الجافا سكريبت و CSS.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تحتوي الfeatures ايضاً على event receivers والتي هي عبارة عن event handlers يتم استدعاءها عندما يتم تفعيل الfeatures &amp;nbsp;أو تعطيلها او تنصيبها أو ازالتها أو تحديثها . ويمكن ايضاً اضافة الevent receivers إلى عناصر الشيربوينت الأخرى مثل القوائم lists أو المواقع SharePoint Sites.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;&amp;nbsp;القوائم lists :&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;وهي اساسية جداً للشيربوينت وتستعمل في كل مكان تقريباً فالfeatures مثل الإستفتاءات surveys و الissues والمكتبات document libraries كلها مبنية على القوائم lists.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يحدد تعريف القائمة list definition الحقول والforms والviews (صفحات .aspx) واتواع المحتوى content types المرتبطة بالقائمة list. ويدعى التطبيق المعين للlist definition &amp;nbsp;ب list instance.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;Workflows&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;: تستعمل الworkflows في SharePoint 2010 من اجل عمل اتمتة automate لمهام العمل business processes . الSharePoint Workflows هي حقيقة مبنية على نفس محرك الworkflow (Windows Workflow Foundation أو WF) والتي ظهرت في .NET 3.5 .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن للworkflows أن ترتبط مع موقع شيربوينت معين أو قائمة list أو حتى نوع محتوى content type.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;Web Parts&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;: هي عبارة عن web server controls يتم استضافتها في صقحة الweb Parts في الشيربوينت ويمكن للمستخدمين أن يعيدو صياغة صفحة الweb Parts كما يريدون , فيستطيعون اختيار عرض واحد أو اكثر من الweb Parts &amp;nbsp;في تلك الصفحة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن للweb Parts أن تعرض أي شيئ ببساطة كstatic label يزود بعض المحتويات لصفحة الويب وحتى form &amp;nbsp;كامل لادخال البيانات لعرض وتقديم خط بيانات العمل line of business data.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;انشاء مشروع SharePoint&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اصبحت تمتلك حتى الان خلفية جيدة عن المفاهيم والمصطلحات الأساسية في SharePoint ويمكنك الان انشاء اول solution لك في الشير بوينت .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;قم باختيار File من الفيجوال ستديو 2010 &amp;nbsp;وثم New وبعدها Project وثم اختار اللغة البرمجية التي تريد أن تعمل معها Visual C# أو Visual Basic .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف يتم عرض انواع مشاريع الشيربوينت كما في الصورة التالية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img833.imageshack.us/img833/4968/93424541.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img833.imageshack.us/img833/4968/93424541.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;هناك عدة قوالب لمشاريع الشيربوينت موجودة في الفيجوال ستديو 2010 واغلب هذه المكونات يمكنك انشاءها ايضا كعناصر مستقلة في SharePoint Solution .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لهذا الامر نختار new Empty SharePoint Project .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما تضغط OK سوف يتم تشغيل SharePoint Customization Wizard الموضح في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img690.imageshack.us/img690/3504/49365680.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img690.imageshack.us/img690/3504/49365680.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بامكانك هنا تحديد موقع ومستوى الحماية للتجريب ولعمل الdebugging . قم باختيار Deploy s &amp;nbsp;Farm Solution واضغط Finish .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: darkgreen; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;معلومة : تعمل Sandbox Solutions في بيئة ذات وثوق جزئي partially trust مع access &amp;nbsp;لمجموعة ثانوية محددة من الوظائف . تراقب بيئة الSandbox مجموعة من الإجراءات التي تتعلق في الأداء ومن ضمنها الوقت التنفيذي للCPU واستهلاك الذاكرة ووقت تنفيذ استعلامات قاعدة البيانات .&lt;/strong&gt;&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;لا يمكن تفعيل Sandbox Solution مالم يتم تمريرها في عملية validation . كل هذه الأمور تقدم ثقة وطمأنينة للSharePoint Administrator بأن اي مكون خطر تالف لن يؤثر على بقية بيئة الSharePoint .&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف تلاحظ ظهور خيارين في الSolution Explorer عندما يتم انشاء مشروع الشيربوينت , وهذه الخيارات موجودة في كل مشاريع الشيربوينت ولا يمكن حذفها أو نقلها أو اعادة تسميتها .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن لخيار ومجلد &amp;nbsp;Features أن يحتوي على SharePoint Feature واحد أو اكثر وكما ذكرنا سابقاً فالFeatures هي مجموعة &amp;nbsp;من الموارد التي تمثل وظائف معينة بشكل منطقي logical set , فعندما تضيف عنصر جديد في اي وقت مثل Visual Web Part أو Content type فسوف يتم اضافتها للFeatures تحت مجلد Features اما لFeature موجودة سابقاً أو أو سيتم انشاء Feature جديدة حسب نطاق العنصر item scope . سوف نناقش الFeatures في قسم لاحق في هذه المقالة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يحتوي مجلد Package على ملف منفرد يعمل كالية نشر لمشروغ الشيربوينت . تمتلك الPackage امتداد WSP وهي مماثلة لملف التنصيب من ناحية منطقية وتحتوي على مجموعة من الFeatures والSite Definition بالإضافة لassemblies اضافية تم وضعها في موقع الشيربوينت . سوف نناقش الPackeges في القسم الاخير من هذه المقالة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;حتى نضيف مكون أو عنصر لهذا الsolution نضغط بالزر الأيمن على الproject في الSolution Explorer ونختار Add وثم New Item . وكما نرى في الصورة التالية فإن الشيربوينت وضع لنا عدة ضخم من الخيارات لمكونات الشيربوينت . نختار عنصر جديد ل Application Page وندخل myPage.aspx كاسم له ونضغط OK.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img233.imageshack.us/img233/8007/22517282.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img233.imageshack.us/img233/8007/22517282.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;الApplication Page هي احدى انواع صفحات الويب لASP.NET والتي توجد في مواقع الشيربوينت . اغلب الصفحات التي يتعامل معها المستخدمون للشيربوينت هي في الواقع صفحات المحتويات Content Pages . ومع أن الفيجوال ستديو لا يحتوي على خيار او قالب لصفحات المحتوى Content Pages إلا أنه يمكن انشاءها وتعديلها عن طريق ادوات مثل SharePoint Designer أو باستعمال الObject Model للSharePoint Foundation .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن اضافة صفحات المحتويات Content Pages إلى مكتبة الصفحات SharePoint Page Library ويمكن لهذه الصفحات أن تحتوي على dynamic Web Parts .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;ملاحظة: يتكون الobject model &amp;nbsp;في SharePoint Foundation 2010 &amp;nbsp;من اكثر من 70 &amp;nbsp;Namespace ويقدم API تسمح لك بتفيذ المهام &amp;nbsp;الإدارية والخاصة &amp;nbsp;بالمستخدم بشكل برمجي &amp;nbsp;. توجد معظم الكلاسات في الاسمبلي Microsoft.SharePoint.dll و Microsoft.SharePoint.Client.dll ويمكن استعمال هذه الكلاسات للعمل مع بيئة SharePoint Foundation أو SharePoint Server محلياً.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;على الرغم من أن الApplication Pages لا &amp;nbsp;يمكنها تنفيذ عدد من الأمور التي تستطيع صفحات المحتويات Content Pages تنفيذها فالأخيرة تملك دعم افضل بكثير لكودات التطبيقات المعينة لذلك تستعمل الApplication Pages &amp;nbsp;للوظائف الإدارية .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لا بد انك لاحظت أن الApplication Pages لا تضاف إلى الroot مباشرة عند انشاءها بل هي تضاف إلى مجلد فرعي اسمه بنفس اسم مشروعك ضمن مجلد جديد يدعى Layouts والذي لا يمكنك تغييره لكن تستطيع اسم المجلد الفرعي وقتما تشاء . يجب ان تعلم أن مجلد Layouts هو مثال على SharePoint Mapped Folder والذي هو اساساً اختصار لمجلد الشيربوينت الإعتيادي ويوفر علينا عناء تحديد المسار الكامل full path للمجلد في الsolution .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك اضافة Mapped Folder لمشروعك عن طريق الضغط بالزر الأيمن على الproject واختيار Add وثم SharePoint Mapped Folder وبعدها ستلاحظ ظهور صندوق حوار يحتوي على جميع مجلدات شيربوينت المتوفرة كما هو مبين في الصورة التالية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img252.imageshack.us/img252/3656/14201506.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img252.imageshack.us/img252/3656/14201506.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يتم عمل render لصفحات الApplication باستعمال SharePoint master page اثناء وقت التشغيل لأنها تحتوي على عدة Content controls للASP.NET كPlaceholder لمواقع مختلفة في الmaster page . يمكنك اضافة أي محتويات ثابتة و HTML Controls و ASP.NET Web Controls في صفحة الApplication بالإضافة لامكانية تعديل الcode behind للصفحة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك بناء وتشغيل المشروع كأي مشروع اخر بالضغط على F5 (Debug Mode) وسوف يقوم الفيجوال ستديو بعمل Package ونشر بشكل تلقائي للApplication Page إلى SharePoint Installation &amp;nbsp;المحلي .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعدها ستشاهد الصفحة الرئيسية للشيربيونت على المتصفح وحتى نرى صفحة الApplication Page التي اضفناها نضع الرابط التالي في المتصفح بشكل يدوي :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://servername/_layouts/ProjectName/MyPage.aspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://ServerName/_l...ame/MyPage.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك عمل debug لصفحة الApplication بنفس الطريقة التي تعمل فيها debug لأي web form اخر في ASP.NET.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img297.imageshack.us/img297/4886/11809359.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img297.imageshack.us/img297/4886/11809359.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 36px; line-height: 19px;&quot;&gt;يتبع&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عبد العظيم بخاري&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.el-bukhari.com/2010/10/2010-sharepoint.html&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.el-bukhar...sharepoint.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;بناء مكونات شيربوينت معينة&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف نشرح في هذا القسم لمحة تطويرية عن اكثر مكونات الشيربوينت شيوعاً&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;تطوير Web Parts&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;هناك وعان من الWeb Parts يمكن انشاءهم في الفيجوال ستديو 2010 وهما :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;ASP.NET Web Parts&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;: والتي هي جديدة على SharePoint 2010 ومشتقة من System.Web.UI.WebControls.WebParts.WebPart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;ويمكننا استعمالها خارج الشيربوينت في اي تطبيق ويب للASP.NET يعمل implement لها . ويوجد في الفيجوال ستديو 2010 مصمم لها .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة : لا يمكن استعمال ASP.NET Web Parts في Sandbox Solutions .&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;SharePoint-based Web Parts :&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;وهي كنترول مشتق من كلاس Microsoft.SharePoint.WebPartPages.WebPart&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن استعمال هذه الWeb Parts في مواقع الشيربوينت فقط ولا يوجد أي دعم للdesign لهذه الWeb Parts في الفيجوال ستديو 2010 . لكن يمكنك بناء التصميم في الكود عن طريق عمل override للmethods : CreateChildControls() أو Render().&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يفضل دائماً استخدام ASP.NET Web Parts لتطوير Web Part جديد ولعمل ذلك نضغط بالزر الأيمن على الProject في الSolution Explorer ونختار Add وبعدها New Item ونختار Visual Web Part ونكتب اسم MyWebPart ونضغط على Add.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img819.imageshack.us/img819/8633/131d.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img819.imageshack.us/img819/8633/131d.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لاحظ أنه تم اضافة عدة ملفات للمشروع . يمثل الملف MyWebPart.cs (أو MyWebPart.vb اذا كنت تستعمل VB) هي نقطة الدخول للWeb Part وهو الكلاس الذي يتم عمل instance منه عندما يتم تحميل الWeb Part اثناء وقت التشغيل runtime.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;ملفا Elements.xml و MyWebPart.webpart هما عبارة عن ملفات mainifest مبنية على XML والتي تقدم metadata للشيربوينت حول هذه الWeb Part . اما ملف MMyWebPartUserControl.ascx هو عبارة عن .NET user control يقدم UI للWeb Part وهو المكان الذي يجب عليك تعديل الlayout والwebcontrol والcode behind فيه اذا كان ذلك مطلوباً .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعد أن تقوم بتصميم الWeb Part واضافة ما تريد له اعمل للمشروع build وrun وسوف يقوم الفيجوال ستديو بعمل package ونشر للWeb Part بشكل تلقائي إلى موقع الشيربوينت المحلي. يمكنك اضافة الWeb Parts إلى صفحة معينة في الشيربوينت عن طريق اختيار Site Actions &amp;nbsp;ومن ثم Edit Page ونضغط على الtab المسمى Insert وبعدها نختار Web Part من الشريط من اجل عرض قائمة الWeb Parts المتوفرة . بعد ذلك سوف يتم عرض الWeb Parts تحت مجلد Custom بالوضع الإفتراضي كما هو مبين بالصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img241.imageshack.us/img241/7513/132j.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;div class=&quot;resized_img&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: #777777; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: white; font-size: 11px; padding-bottom: 4px; padding-left: 8px; padding-right: 8px; padding-top: 4px;&quot;&gt;Resized to 73% (was 1366 x 736) - Click image to enlarge&lt;/span&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img resized&quot; handled=&quot;1&quot; height=&quot;537&quot; newheight=&quot;537&quot; newwidth=&quot;997&quot; origheight=&quot;736&quot; origwidth=&quot;1366&quot; shrunk=&quot;1&quot; src=&quot;http://img241.imageshack.us/img241/7513/132j.png&quot; style=&quot;border-bottom-color: rgb(119, 119, 119); border-bottom-style: solid; border-bottom-width: 6px; border-color: initial; border-image: initial; border-left-color: rgb(119, 119, 119); border-left-style: solid; border-left-width: 3px; border-right-color: rgb(119, 119, 119); border-right-style: solid; border-right-width: 3px; border-style: initial; border-top-color: rgb(119, 119, 119); border-top-style: solid; border-top-width: 3px; cursor: pointer; display: block; margin-bottom: 5px; vertical-align: middle;&quot; width=&quot;997&quot; /&gt;&lt;/div&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة : يمكنك تغيير المجلد الذي تظهر الWeb Parts تحته عن طريق تعديل ملف Elements.xml.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;انشاء انواع المحتويات Content types والقوائم lists&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تعتبر انواع المحتويات Content types والقوائم lists من كتل البناء الأساسية في الشيربوينت ويستخدما لعمل implement لعديد من المميزات features.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;قم بانشاء نوع محتوى جديد Content type عن طريق الضغط بالزر الأيمن على الproject في الSolution Explorer ونختار Add وبعدها New Item ومن ثم نختار Content type .وندخل My Content Type كاسم واضغط Add .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img411.imageshack.us/img411/5373/25634583.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img411.imageshack.us/img411/5373/25634583.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نختار بعدها Task كنوع محتوى اساسي من ال SharePoint Customization Wizard حتى نشتق منه ثم نضغط على finish . سوف يقوم الفيجوال ستديو بانشاء نوع محتوى جديد Content type والذي هو ببساطة تعريف مبني بالXML لنوع المحتوى في ملف Elements.xml .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعدها ننشأ حقل خاص &amp;nbsp;لكي يتم استخدامه من قبل نوع المحتوى الجديد عن طريق اختيار new Empty Element من صندوق Add New Item وندخل اسم owner ونضغط add . بعد ذلك نضيف سطر الXML التالي لملف Elements.xml (الذي تم انشاءه مسبقاً) ضمن &amp;lt;Elements&amp;gt; :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;lt;Field&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;”{3BA8B2E2-4BEA-4305-ACD2-9511C5E45738}”&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;Type&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;&quot;User&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;&quot;Owner&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;DisplayName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;&quot;Task Owner&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;lt;/Field&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;ملاحظة هامة : يجب على كل حقل ننشأه أن يحتوي على ID مناسب . يمكنك توليد GUID جديد ضمن الفيجوال ستديو عن طريق اختيار Tools ثم Create GUID .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نعود الان لملف Elements.xml للMyContentType ونضيف سطر XML التالي تحت &amp;lt;FieldRefs&amp;gt; :وبذلك يصبح حقل owner متوفر لنوع المحتوى الجديد Content Type .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;lt;FieldRef&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;&quot;{3BA8B2E2-4BEA-4305-ACD2-9511C5E45738}&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800;&quot;&gt;&quot;Owner&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;بعديها ننشأ تعريف قائمة جديد SharePoint List Definition للContent Type عن طريق الضغط على Add New Item ونختار new List Definitions from Content Type ونسميه MyCustomTasksLists ونضغط Add وبعدها ستلاحظ أن الفيجوال ستديو سوف يعرض ال SharePoint Customization Wizard كما هو مبين في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img692.imageshack.us/img692/5707/94145143.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img692.imageshack.us/img692/5707/94145143.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;ادخل display name وبعدها تأكد أنك اخترت MyContentType الذي انشأناه سابقاً من القائمة المنسدلة وايضاً تأكد أنك قد وضعت صح على add a list instance .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img442.imageshack.us/img442/1996/78385559.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img442.imageshack.us/img442/1996/78385559.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نحتاج اخيراً لعمل customization للlist instance حتى يتم عرض عنوان مفيد لانه يكون ProjectName – ListInstanceName بالوضع الإفتراضي . نفتح ملف Elements.xml تحت مجلد الlist instance : Listinstance1 وعدل الattribute المسمى Title في XML وبعدها احفظ الملف واضغط F5 لبناء وتشغيل المشروع .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما يتم فتح موقع الشيربوينت سوف ترى قائمة list جديدة في العمود على يسار الصفحة الرئيسية . نضغط على القائمة list وبعدها نضغط على items tab ونضغط على زر New Item لعرض صندوق اضافة عنصر جديد كما هو موضع في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img181.imageshack.us/img181/1751/50989356.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img181.imageshack.us/img181/1751/50989356.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;لاحظ أن الحقل الجديد موضوع في اسفل الصندوق .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة: يمكنك تعديل جوانب عدة للقائمة list ومن ضمنها اي الحقول التي يجب أن تظهر في الشكل التلقائي عن طريق تعديل ملف تعريف القائمة list definition المسمى Schema.xml.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;اضافة Event Receiver&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن اضافة Event Receiver لعدة انواع مختلفة في الشيربيونت ومن ضمنها القوائم lists والعناصر items والworkflows و المميزات features والمهام الإدارية لموقع SharePoint وسنقوم الان باضافة event receiver جديد للقائمة التي تم انشائها في القسم السابق من المقالة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نبدأ عن طريق اختيار Event Receiver من صندوق Add New Item ونضع له اسم جيد وثم نضغط Add وستلاحظ بعدها ظهور SharePoint Customization Wizard كما هو موضح بالصور التالية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img819.imageshack.us/img819/7017/51840292.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img819.imageshack.us/img819/7017/51840292.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img145.imageshack.us/img145/4707/77392427.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img145.imageshack.us/img145/4707/77392427.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نختار List Item Events كنوع للevent receiver ونختار custom task list ك event source ثم نضع صح على الcheckbox المقابل ل An item was added وبعدها نضغط Finish.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف ينشأ الفيجوال ستديو event receiver جديد وهو عبارة عن كلاس مشتق من الكلاس الأساسي Microsoft.SharePoint.SPItemEventReceiver وسوف يتم عمل override للميثود ItemAdded لذلك عدلها باضافة الكودات التالية والتي تقوم بوضع موعد الإنتهاء Due Date للtask الجديدة إلى 5 ايام من تاريخ البداية Start Date .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كود C#&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;/انظر&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;لملف&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MyEventReceiver&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;cs&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ItemAdded&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;SPItemEventProperties&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; startDate &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;DateTime&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Parse&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Start Date&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ToString&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;());&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Due Date&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; startDate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;AddDays&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;base&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ItemAdded&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كود VB.NET&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;background-color: #eeeeee; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a class=&quot;plain_text&quot; href=&quot;http://www.arabteam2000-forum.com/index.php?showtopic=229988&quot; style=&quot;color: #4e6a97; font: normal normal normal 13px/normal arial, verdana, tahoma, sans-serif; margin-left: 3px; text-decoration: none;&quot;&gt;plain text&lt;/a&gt;&lt;/div&gt;&lt;pre class=&quot;prettyprint linenums&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; color: #5d5d5d; direction: ltr; font-family: tahoma, arial, verdana, sans-serif; font-size: 11px; line-height: 14px; margin-left: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&#39;انظر لملف MyEventReceiver.vb
Public Overrides Sub ItemAdded(ByVal properties As SPItemEventProperties)
Dim startDate = DateTime.Parse(properties.ListItem(&quot;Start Date&quot;).ToString())
properties.ListItem(&quot;Due Date&quot;) = startDate.AddDays(5)
properties.ListItem.Update()
MyBase.ItemAdded(properties)
End Sub&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف ترى تعارض نشر كما هو معروض في الصورة التالية عندما تحاول بناء وتشغيل المشروع . نضع صح على الخيار اسفل النافذة ونضغط Resolve Automatically.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img2.imageshack.us/img2/772/93738518.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img2.imageshack.us/img2/772/93738518.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما تضيف task جديدة لقائمة الtask التي انشأناها سابقاً سوف تلاحظ أن تاريخ الإنتهاء سوف يوضع بشكل تلقائي عندما يتم حفظ العنصر item.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 36px; line-height: 19px;&quot;&gt;يتبع&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عبد العظيم بخاري&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.el-bukhari.com/2010/10/2010-sharepoint.html&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.el-bukhar...sharepoint.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;انشاء SharePoint Workflows&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تضمن الفيجوال ستديو 2010 دعم لنوعين من ال SharePoint Workflowsوهما sequential workflow و state machine workflow.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;&amp;nbsp;تمثل الworkflow المتسلسلة sequential&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كمجموعة من الخطوات التي تنفذ بالترتيب . فمثلاً عندما يتم اضافة مستند معين يتم ارسال بريد الكتروني إلى المشرف وعندما يقرأ المشرف هذا البريد فاما أن يوافق عليه واما أن يرفضه . فاذا تمت الموافقة عليه يتم نشر هذا المستند اما اذا تم رفضه فيتم ارسال بريد الكتروني للذي قام بوضعه ليخبره عن سبب عدم الموافقة عليه.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;- &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;تمثل ال state machine workflow&lt;/strong&gt;&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;كمجموعة من الإنتقالات والأعمال والحالات (states) . يتم تعريف الحالة الإبتدائية للworkflow ويتم نقلها لحالة جديدة اعتماداً على event ما فمثلاً يمكن أن يكون عندك حالات مثل انشاء مستند ونشره ويكون هناك events تتحكم بالانتقال لهذه الحالات مثل ادخال مستند والموافقة عليه.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;حتى ننشأ SharePoint Workflow جديد نضغط بالزر الأيمن على الProject في Solution Explorer ونختار Add وثم New Item وبعدها نختار Sequential workflow ونعطيها اسم MyWorkflow ونضغط Add.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف يقوم الفيجوال ستديو الان بتشغيل SharePoint Customization Wizard قم في الخطوة الاولى باعطاء اسم ذو معنى للworkflow وتأكد أن نوع الworkflow template المراد انشاءه هو List Workflow كما هو مبين في الصورة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img259.imageshack.us/img259/2922/10965083.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img259.imageshack.us/img259/2922/10965083.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;نحدد في الخطوة التالية الية عمل الworkflow والتي يجب انشائها عندما يتم بدأ جلسة الdebug . توضح الصورة التالية الخيارات الإفتراضية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img541.imageshack.us/img541/2264/21848956.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img541.imageshack.us/img541/2264/21848956.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;الخطوة الأخيرة في SharePoint Customization Wizard هي لتحديد كيفية بداية الworkflow , نترك الخيارات الإفتراضية كما هي ونضغط finish (تبدأ مع انشاء عنصر item) .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سوف ينشأ الفيجوال ستديو الworkflow ويفتحها في Workflow Designer كما هو مبين في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img181.imageshack.us/img181/2199/84464409.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img181.imageshack.us/img181/2199/84464409.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كما نعلم فإن الworkflow في الشيربوينت مبنية على محرك Windows Workflow لذلك لن نضيع وقتنا في هذه المقالة في كيفية عمل تعديل للworkflow .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ملاحظة : تعمل الworkflows في الشيربوينت 2010 على الاصدار 3.5 من الWindows Workflow.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك تجريب الworkflow التي انشاناها عن طريق تشغيلها في SharePoint installation المحلي حيث أنه عندما نقوم بتشغيل الsolution فإن الفيجوال ستديو سيقوم بعمل package ونشر للworkflow بشكل تلقائي مع المحددات التي وضعناها سابقاً . الان عندما تضيف اي مستند جديد إلى Shared Documents library فسوف يتم استدعاء الworkflow .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك عمل debug للworkflow عن طريق وضع breakpoints في الcode behind والتدرج خلال تنفيذ المشروع كأي مشروع اخر للفيجوال ستديو .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;العمل مع المميزات Features&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;الFeatures موجهة بالاساس لSharePoint Administrator وتزودهم بطريقة لادارة العناصر المرتبطة ببعضها حيث أن كل عنصر تضيفه في مشروع الشيربوينت سوف يتم اضافته للFeatures.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يتم تخزين الFeatures ضمن مجلد Features في مشروع الشيربوينت ويتضمن الفيجوال ستديو Feature Designer ياتي عندما تضغط بشكل مزودج على Feature ما كما في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img508.imageshack.us/img508/749/15789222.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img508.imageshack.us/img508/749/15789222.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يسمح لك Feature Designer بوضع عنوان ووصف للfeatures وهي المعلومات التي ستعرض في الشيربوينت ويمكنك ايضاً وضع وضع النطاق للfeature إلى server farm كامل أو إلى جميع مواقع الويب في site collection او حتى موقع ويب معين أو جميع مواقع الويب في web application .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك اختيار تضمين أو استثناء عناصر معينة في feature ما بالFeature Designer فمثلا تم تضمين جميع عناصر الSharePoint في المشروع ضمن الfeature باستثناء MyWorkflow . واذا كان لديك اكثر من feature واحد في المشروع فيمكنك وضع تبعيات dependencies والتي تتأكد أنه لا يمكن تفعيل feature ما مالم يتم تفعيل feature اخرى .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكن للمدراء في الشيربوينت SharePoint Administrators أن يقوموا بتفعيل الfeatures او تعطيبها باستعمال Manage Site Features أو شاشة Site Features Adminstration في&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;Site Actions -&amp;gt; Site Settings&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;كما في الصورة التالية :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img178.imageshack.us/img178/2940/11350687.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img178.imageshack.us/img178/2940/11350687.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;النشر والPackaging&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يقدم الشيربوينت نمط Packaging مخصص يدعى Windows SharePoint Package (WSP) . يمكن لملفات WSP أن تحتوي على Features وتعريفات الموقع site definitions وقوالب templates و application pages والassemblies الإضافية .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يتم انشاء ملفات WSP في مجلد bin/deploy أو bin/release عندما تبني SharePoint Solution بالفيجوال ستديو 2010 . يمكن&amp;nbsp;&amp;nbsp;أن ينصب&amp;nbsp;ملف WSP من قبل الأدمن على remote SharePoint server .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;عندما تنشأ مشروع SharePoint يتم انشاء ملف Package definition في المشروع ضمن مجلد Packages .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يحتوي هذا الملف على وصف ما الذي يجب أن يحصل في ملف WSP .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يتضمن الفيجوال ستديو 2010 ادارة Package Designer و نافذة Packaging Explorer من اجل المساعدة في بناء الPackage .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;اذا قمت بالضغط بشكل بزدوج على ملف الPackage سوف يتم فتح الملف مع ادوات التصميم كما توضح الصورة التالية التي تعرض ملف Package يتضمن application page و feature واحدة .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img72.imageshack.us/img72/6687/50508715.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img72.imageshack.us/img72/6687/50508715.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;سيقوم الفيجوال ستديو بنشر كل العناصر في مشروعك بشكل تلقائي إلى SharePoint Installation محلي عند قيامك بالضغط على F5 مما يوفر عليك الكثير من الوقت والجهد .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك ايجاد خطوات النشر في صفحة خيارات المشروع والتي يمكن الوصول إليها عن طريق الضغط بالزر الأيمن على الSolution Explorer واختيار Properties كما في الصورة التالية:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://img809.imageshack.us/img809/5849/93113885.png&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://img809.imageshack.us/img809/5849/93113885.png&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;يمكنك تحديد برنامج command-line أو سكريبت للعمل قبل وبعد قيام الفيجوال ستديو بنشر الsolution للSharePoint Installation المحلي . يمكنك الوصول لخطوات النشر الحقيقية عن طريق الضغط الزدوج على الconfiguration في قائمة Edit Configuration لتعرض لك صفحة deployment configuration.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong class=&quot;bbc&quot; style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;ملاحظة : يمكنك ازالة مكونات الشيربوينت من الSharePoint installation المحلي عن طريق الضغط بالزر الأيمن على الProject في الSolution Explorer واختيار Retract.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;خلاصة المقالة :&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;تعلمنا في هذه المقالة كيفية بناءSolutions &amp;nbsp;لMicrosoft SharePoint 2010 وقد رأينا كيف تسمح لنا ادوات تطوير الشيربوينت في الفيجوال ستديو 2010 لتطوير الweb parts والworkflows و القوائم بشكل سهل وبسيط .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;هذه المقالة مجرد نظرة سطحية وتعريفية عن تطوير SharePoint 2010 . اذا اردت التعمق اكثر في هذا المجال قم بزيارة مركز مطوري SharePoint على الرابط التالي :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://msdn.microsoft.com/sharepoint&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://msdn.microsoft.com/sharepoint&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;وSharePoint Dev Wiki على الرابط التالي:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.sharepointdevwiki.com/&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.sharepointdevwiki.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&amp;nbsp;ملفات المشروع كاملة :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.4shared.com/file/l-yNrmS-/el-bukharicom.html&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;http://www.4shared.c...bukharicom.html&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;warn_bar&quot; id=&quot;warn_vote_post_1142210&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-top-left-radius: 5px; bottom: 32px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 0.8em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 10px; padding-right: 10px; padding-top: 0px; position: absolute; right: 0px; visibility: hidden;&quot;&gt;&lt;span class=&quot;reputation zero rep_show&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dedede; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; color: #6e6e6e; display: block; float: left; font-weight: bold; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; margin-top: 6px; padding-bottom: 3px; padding-left: 8px; padding-right: 8px; padding-top: 3px;&quot; title=&quot;التقييم&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;correct_answer&quot; id=&quot;percent_change_show_always_1142210&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-top-left-radius: 0px; border-top-right-radius: 5px; bottom: 32px; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 0.8em; left: 600px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 10px; padding-right: 10px; padding-top: 1px; position: absolute; right: auto; visibility: hidden;&quot;&gt;&lt;span class=&quot;reputation positive span_value&quot; id=&quot;vv&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #6f8f52; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; color: white; display: block; float: left; font-weight: bold; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; margin-top: 6px; padding-bottom: 3px; padding-left: 8px; padding-right: 8px; padding-top: 3px;&quot; title=&quot;التقييم&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;rep_bar clear right&quot; id=&quot;rep_post_1142210&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-image: initial; border-left-color: rgb(218, 218, 218); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(218, 218, 218); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(218, 218, 218); border-top-left-radius: 0px; border-top-right-radius: 5px; border-top-style: solid; border-top-width: 1px; bottom: 32px; clear: both; color: #5d5d5d; float: left; font-family: tahoma, arial, verdana, sans-serif; font-size: 0.8em; left: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 6px; margin-top: 0px; max-width: 230px; padding-bottom: 1px; padding-left: 10px; padding-right: 10px; padding-top: 1px; position: absolute; right: auto;&quot;&gt;&lt;span class=&quot;reputation positive rep_show&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #6f8f52; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; color: white; display: block; float: left; font-weight: bold; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; margin-top: 6px; padding-bottom: 3px; padding-left: 8px; padding-right: 8px; padding-top: 3px;&quot; title=&quot;التقييم&quot;&gt;4&lt;/span&gt;&lt;/div&gt;&lt;ul class=&quot;post_controls&quot; style=&quot;background-color: #fafbfc; border-top-color: rgb(218, 218, 218); border-top-style: solid; border-top-width: 1px; clear: both; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 0.8em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 28px; padding-left: 6px; padding-right: 10px; padding-top: 6px;&quot;&gt;&lt;li class=&quot;top&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: url(http://www.arabteam2000-forum.com/public/style_images/Clean31_Points0.7_IMAGES/post_button.png); background-origin: initial; background-position: 0% 0%; background-repeat: no-repeat no-repeat; float: left; font-weight: bold; margin-bottom: 0px; margin-left: 3px; margin-right: 3px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/1297467626788996469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/blog-post_05.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1297467626788996469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1297467626788996469'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/blog-post_05.html' title='هيا نتعلم شير بوينت'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5821455965325860545</id><published>2012-02-05T11:34:00.000-08:00</published><updated>2012-02-05T11:34:43.500-08:00</updated><title type='text'>ما هى فكره عمل GC فى بيئه الدوت نت</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;بسم الله الرحمن الرحيم .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;السلام عليكم ورحمة الله وبركاته .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;خلال دروسنا السابقة كنا نعرف متغيرات وفئات .. الخ ، ولكننا لم نسأل نفسنا كيف يتم تخزينها في الذاكرة ومتى يتم حذفها ، هذه الاسئلة سوف نجيب عليها في هذا الدرس من خلال مفاهيم ال Object lifetime وال GC .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;عند تعريفك لكائن من فئة OBJECT FROM CLASS فإنك بالواقع تصبح ممسكاً ب refernce يشير إلى هذا الكائن الموجود في ال heap ، هذا ال reference يوجد ايضاً في stack خاص بالبرنامج .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;بعد اغلاق البرنامج او انتهاء الدالة يتم حذف ال reference من ال stack ، سيكون التساؤل الطبيعي هو انه وفي هذه الحالة سوف تمتلئ الذاكرة بمئات الكائنات التي لا تجد من يشير لها ، يريحك ال garbage collector والذي يرمز له اختصاراً GC من هذا التساؤل حيث يقوم بحذف الفئات غير المستخدمة ، او في الحقيقة فهو يقوم بحذف جميع الفئات التي لم يعد بامكانك الوصول إليها من داخل البرنامج .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;في ايام ال C++ كان من المفترض ان تقوم بحذف متغيراتك الغير مستخدمة اول بأول ، اما الآن مع GC فاصبحت جل المهام يتم تنفيذها دون ان تشعر .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;الحالة الاكثر شيوعاً هي ان تقوم بعمل =null ، في الواقع هذا لا يعطي اشارة مباشرة لل GC لحذف كائنك من الذاكرة ، لكنه سيتم حذفه في لحظة ما لا يمكنك التحكم بها ، عندما تمتلئ الذاكرة مثلاً .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;تم أستخدام الnew keyword حيث بترجع reference للobject(emp) الموجود داخل الManaged heap وليس الكائن ذات نفسة كما موضح ف تلك الصورة&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.arabteam2000.com/&quot; rel=&quot;nofollow external&quot; style=&quot;background-color: #fafbfc; border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: #2f4c89; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://www.arabteam2000.com/picload/pics_10_05/23_03_06_11_56_38_11431437981.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;GC :&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;تحتوي الفئة GC على عدد من الداول التي تمكنك من التعامل المباشر معها&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;Finalize() :&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;يمكنك هذا الحدث من اقتناص وقت حذف الكائن ، يمكنك عمل overridding له وتنفيذ بعض المهام قبل تدمير الكائن .&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;يتم ذلك بالشكل التالي :&lt;/span&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;br style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: x-large; font-weight: bold; text-align: -webkit-center;&quot; /&gt;&lt;span style=&quot;background-color: #f8f8f8; color: blue; font-family: verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: large; font-weight: bold; text-align: -webkit-center;&quot;&gt;C#:&lt;/span&gt; &lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;class&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #0000bb; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;example&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;{&lt;br /&gt;
~&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #0000bb; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;example&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;()&lt;br /&gt;
{&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #0000bb; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;Console&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #0000bb; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;Beep&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;();&lt;br /&gt;
}&amp;nbsp;&lt;/span&gt; &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #f4f4f4; color: #007700; font-family: monospace; font-size: large; font-weight: bold; text-align: left; white-space: nowrap;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: red; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Understanding Object Generation&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Object Generation عبارة عن ميكانيزم يستخدم بواسطة الGC لتحسين الاداء حيث عند عمل Collect to unreachable object مش معقول أنة هيبدأ يفحص كل الobjects الموجودة داخل الheap حيث لو كان كدة هياخد وقت طويل وبالأخص فى البرامج الكبيرة وعلشان نحسن الأداء أى object موجود داخل الheap لازم يندرج تحت أى جيل من الاجيال التالية&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Generation 0 أى كائن جديد لسة معمول لة create يندرج تحت ذلك الجيل حيث أنة لم يتم فحصة من قبل الGC&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;Identifies newly allocated object that has never been marked for collection.&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;كما موضح فى تلك الصورة حيث تم أنشاء مجموعة objects لم يتم فحصها بالGC&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.arabteam2000.com/&quot; rel=&quot;nofollow external&quot; style=&quot;background-color: #fafbfc; border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://www.arabteam2000.com/picload/pics_10_05/23_03_06_12_02_15_11431441356.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;دلوقتى لو حبيت أضيف كائنات أخرى وكان الheap مليان وبالتالى يبدأ الGC حيث يبدأ بتحليل للheap وبالذات الgeneration 0 ويتم عمل clean للunreachable objects وباقى الكائنات اللى نجت من عملية ال)clean بسبب وجود App root لها )تندرج تحت الGeneration 1&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;لو حبينا نوصف الGeneration 1 هيبقى عبارة عن الobjects اللى نجت من عملية التنظيف للgeneration 0 يعنى تم عمل تحقيق معها مرة واحدة بواسطة الGC&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;كما موضح فى تلك الصورة&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.arabteam2000.com/&quot; rel=&quot;nofollow external&quot; style=&quot;background-color: #fafbfc; border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://www.arabteam2000.com/picload/pics_10_05/23_03_06_12_02_49_11431441697.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;حيث الobjects a , b, d,g,j تم نقلهم الى الgeneration 1 وتم إضافة الكائنات الجديدة k,l,m,n&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;طب لو ضيفت مرة أخرى more objects والمساحة الموجودة فى الgeneration 0 غير كافية وبالتالى سيتم أيضا عمل clean لل generation 1 والكائنات التى نجت من عملية التنظيف للجيل الاول يتم إدراجها تحت الgeneration 2&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;حيث الgeneration 2 يعتبر Highest generation المدعم بواسطة الruntime garbage collector أما لو المساحة غير كافية يتم عمل clean للجيل التانى والكائنات الناجية من تلك العملية تظل فى ذلك الجيل&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;كما موضح فى تلك الصورة عند أضافة الo,p objects سيتم عمل clean أولا الى الgeneration 0 حيث المساحة لم تكفى يتم عمل clean للgeneration 1 وأيضا المساحة لم تكفى يتم عمل clean للgeneration2&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;span style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;كما موضح فى تلك الصورة&lt;/span&gt;&lt;br style=&quot;background-color: #fafbfc; color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.arabteam2000.com/&quot; rel=&quot;nofollow external&quot; style=&quot;background-color: #fafbfc; border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;&lt;img alt=&quot;Posted Image&quot; class=&quot;bbc_img&quot; src=&quot;http://www.arabteam2000.com/picload/pics_10_05/23_03_06_12_03_37_11431442178.JPG&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;color: blue; font-family: tahoma, arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5821455965325860545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/gc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5821455965325860545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5821455965325860545'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/gc.html' title='ما هى فكره عمل GC فى بيئه الدوت نت'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-3683673643330170031</id><published>2012-02-05T09:25:00.000-08:00</published><updated>2012-02-05T09:25:02.289-08:00</updated><title type='text'>ما هو الدوت نت</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;بيئة الدوت نت هى الاساس القادم لتطوير تطبيقات تستطيع ربط نظم ومعلومات و اجهزه و مستخدمين فى إطار موحد و مخصص&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;تقع منصة الدوت نت فى نقاط اساسيه&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;1- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;أدوات التطوير&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Developer Tools : &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الواجهه البرمجيه والادوات(لغات البرمجه) التى يستخدمها المطور لتصميم و إنشاء الحلول لبيئة الدوت نت .... تدعم دوت نيت حوالى 24 لغه برمجه&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;2- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مجموعة من الخوادم&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Servers : &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;السيرفرات التى تمثل البنية التحتيه لبناء وتطوير و تنفيذ الحلول لبيئة الدوت نت مثل&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MS SQL Server &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; E-Commerce Server &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; BizTalk Server&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;3- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;خدمات الويب&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Xml Web Service : &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مجموعه من الخدمات المحدده للقيام بالعمليات الروتينيه و الوسائل التى تساعد المطور فى تطوير خدماته الخاصه&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;4- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;العملاء&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Clients : &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و المقصود بها الاجهزه التى تستخدم انظمة تشغيل مدمج معها إطار عمل الدوت نيت... هناك مشروع مونو لنقل الدوت نت على اللينكس&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;5- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;خبرة المستخدمين&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; User Experinece : &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;البرمجيات التقليده والمدمجه مع خدمات الويب لتقدم كل ما يحتاجه المستخدم&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ربما تبدو هذه النقاط مقدمه نظريه لا فائده منها و لكنى تعلمت ان معرفة هيكلية (معمارية) بيئة العمل هامه جداً&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;بيئة عمل الدوت نت تقدم نموذج عمل بالبرمجه الكائنيه ( سنفهم معناها لاحقاً) و هو ما يضمن سلامة تنفيذ الكود باستخدام قواعد التحقق من الصحه وقت التنفيذ&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; RunTime &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بمعنى انه لايمكن لبرنامجك ان يتخطى حدوده و يحاول الوصول إلى كائنات اخرى فى تطبيق اخر مالم يسمح له هذا التطبيق او ربما يحاول تطبيقك او ما سنسميه كائنك ان يقوم بعمليه لم تحددها له&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot;
 coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot;
 filled=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;  &lt;/v:formulas&gt;  &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;  &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; alt=&quot;Posted Image&quot;
 style=&#39;width:24pt;height:24pt&#39;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: blue; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;إطار عمل الدوت نت &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: blue; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;Dot Net FrameWork&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: blue; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;إطار العمل هو بمثابة القلب النابض للدوت نيت و هو يحتوى على مكونين رئيسيين&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;1- Common Langauge RunTime &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (CLR)&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;2- DotNet Class Library&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;1- Common Langauge RunTime &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (CLR)&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;او ما يطلق عليه بيئة العمل المشتركه و هى البيئه التى يتم تنفيذ كل تطبيقات الدوت نت فيها تقدم هذه البيئه الكثير للتطبيقات العامله بها&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;و ربما توضح الصوره المرفقه ما اقصده&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;Posted Image&quot; style=&#39;width:24pt;height:24pt&#39;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;البرامج التى يتم عمل&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Compilation &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;لها تحت بيئة الدوت نت لا يتم تحويلها مباشره إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Native Code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بل يتم تحويلها إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL ( Microsoft Intermediate Language ) &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تماماً مثل تطبيقات الجافا التى يتم تحويلها إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Byte Code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و بالتالى هذا يجعل تطبيقات الدوت نت قابله للعمل على اى نظام تشغيل يحتوى على ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بعد ذلك يتم تحويل كود ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Native Code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بواسطة مترجم وقت التنفيذ&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (Just In Time Compiler ) &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تحويل الكود إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;شئ ممتع فهو يجعلك تعمل تحت منصة الدوت نت باستخدام لغتك المفضله (التى يجب ان تدعم تحويل الكود إلى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL )&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;يبقى شئ يجب ان نوضحه هنا و هو ان الكود الذى يتم تنفيذه تحت بيئة الدوت نت يسمى&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; managed code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و يسمى كذلك لانه يستخدم ململم النفايات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; GC &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;لتحرير الذاكره من الكائنات الغير مستخدمه و ما غير ذلك فيسمى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; unmanaged code&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;دعنا نوضح النقطه السابقه الخاصه بكيفية تنفيذ ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; managed code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بشئ من التفصيل&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;كما ذكرنا فان ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;هى المسئوله عن تحميل المجمعات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (Assemblies) &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و الكائنات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (Objects) &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الخاصه بتطبيقك فى الذاكره ... بعد ان يتم تحميل الكود و يبدأ تنفيذه تستمر ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فى العمل لمراقبة تنفيذ ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; managed code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;خاصتك لتقدم له الخدمات الموجوده بالشكل الموضح اعلاه&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ايضاً لكى تتاكد من ان برنامجك يعمل فى بدون اى عوامل خارجيه تؤثر على عمله&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ماذا بعد ان تنتهى دورة حياة تطبيقك ؟&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;تقوم ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بتحرير الذاكره من كائنات تطبيقك باستخدام ميكانيكيه داخليه تسمى ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Garbage Collector &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او ململم النفايات (مثل تطبيقات جافا&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;قبل ان يبدأ ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فى هذه المكانيكيه فهو يقوم بتحميل نفسه فى ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Windows Hosting Process&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;دعنا نلقى نظره عن قرب من هذه العمليه&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;المترجمات التى تدعم ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; managed code &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مثل&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; VB.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مثلاً تقوم باضافة ترويسة&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (Header) &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تقوم بتوليد&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; managed assembly file &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;هذا الملف يجعل نظام التشغيل ويندوز يقوم اوتوماتيكياً بتحميل ملف&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSCOREE.DLL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الذى يقوم ببدأ جلسة عمل لل&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLR &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;لتطبيقك عن طريق تحميل ملف&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSCORWKS.DLL&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;افترض ان تطبيقك ينتج ملف اسمه&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MyApp.exe &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و انظر إالى الصوره التاليه لتستوعب هذه الفكره باختصار شديد&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;Posted Image&quot; style=&#39;width:24pt;height:24pt&#39;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;هل معنى هذا ان تطبيقات الدوت نت ستعمل على اى منصه مثل جافا ؟&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;نظرياً نعم حيث انه من المفترض ان منصة الدوت نت منفصله عن نظام التشغيل و لكن تقنياً حتى الان لا تعمل تطبيقات الدوت نت إلا من خلال منصة الويندوز و إن كان هناك مجهودات مبذوله لنقل منصة الدوت نت إلى لينكس من خلال مشروع مونو&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;2- &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;مكتبة فئات الدوت نت &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;DotNet Class Library&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;b&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;تأتى بيئة الدوت نت محمله بأكثر من 5 الآلاف فئه&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Class &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;جاهزه تساعد المطور فى إنشاء التطبيقات المختلفه بكل سلاسه فهى تقدم له كل الاكواد التى يتكرر تنفيذها و لكن مغلفه مما يعطى امن للكود اثناء تنفيذه كما تجعل ذهن الطور يتجه نحو ما هو المطلوب تاديته من البرنامج و يترك التفاصيل الفرعيه لفئات الدوت نيت&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;هذه الفئات&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Classes &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تقع فى 7 مجموعات رئيسيه&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; &lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;1- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات التعامل مع هياكل البيانات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Data Structures&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;2- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات التعامل مع ادوات الادخال والاخراج&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; IO management&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;3- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات ادوات تطبيقات الويندوز و الويب&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Windows and Web Controls&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;4- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات الوصول إلى البيانات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Database access&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;5- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات تعدد خيوط المعالجه&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Multithreading&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;6- Remoting&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;7- &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات الانعكاس&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Reflections&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;كل هذه الفئات يمكن الوصول إليها من اى لغة تدعم الدوت نت اى ان المطور الذى يستخدم الفيجوال بيسك دوت نيت سيستخدم هذه الفئات كما هو الحال مع المطور الذى يستخدم ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; #C &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مثل المطور الذى يستخدم&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Perl.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مثل المطور الذى يستخدم&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Delphi.Net&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;كل ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Implementaion &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الخاصه بإطار عمل الدوت نت يتم شحنها مع مجموعه كبيره من الفئات المبنيه بداخلها (المدمجه معها&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;مكتبة فئات إطار العمل&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; FCL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تحتوى على مجموعه كبيره من الفئات تتنوع فى استخداماتها من دوال ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; API &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;التى تم تغليفها ووضعها فى صوره امنه للمبرمج يستطيع التعامل معها داخل الدوت نت - فئات للتعامل مع قواعد البيانات - فئات للتعامل مع الواجهه الرسوميه للمستخدم - فئات للتعامل مع تنسيق النص - فئات للتعامل مع المجموعات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; COLLECTIONS - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فئات للتعامل مع ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Program Security &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و هكذا ترى ان لديك مكتبه كبيره جداً من الفئات القابله للاستخدام&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;و لكن ليس كل الفئات قابله للاستخدام داخل كل انواع التطبيقات فقد نجد فئات تستخدم فى تطبيقات الويندوز&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; windows application &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و لكن لا تستخدم بداخل تطبيقات الويب&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; web application &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; mobile applications &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او العكس&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;يجب ان تحذر استخدام مكتبة الفئات إلا للمنصات التى تعمل عليها فقط اى لا تحاول استخدام مكتبه للتعامل مع السيكيورتى مثلاًُ مع نظام لا يدعم السيكيورتى&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ليس ان تحوبل الكود فقط إلى&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;يسمح لك بالعمل عبر المنصات المختلفه بل ايضاً معرفتك باى مكتبه من الفئات قابله للعمل عبر تلك المنصات&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;التحديدات&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; specification &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الخاصه بال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; CLI &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;عرفت مجموعه من الفئات الاساسيه التى يجب توافرها لاى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; DOT NET FrameWork Implementaion &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;هذه الفئات تعرف باسم&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Base Class Library &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او اختصاراً&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; BCL&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;استخدامك لل&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; BCL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;يضمن لك قابلية عمل تطبيقك على اى منصة عمل تستخدم إطار عمل الدوت نت و لكن استخدامك لاى فئه خارج اطار ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; BCL &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;قد يعرض برنامج لعدم التوافقيه مع منصة العمل التى يجرى عليها تطبيقك&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;هذا جدول يوضح اهم المجمعات&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Assemblies &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;داخل مكتبة الفئات&lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot;
 alt=&quot;Posted Image&quot; style=&#39;width:24pt;height:24pt&#39;/&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Microsoft.VisualBasic &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;يقوم بمهمتين رئيسيتين لمبرمجى الفيجوال بيسك دوت نيت&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;المهمه الاولى : تقدم وسائل المساعده التى تقوم بتحويل الكود إلى&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; MSIL&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;المهمه الثانيه : تقدم وصول مباشر للطرق و الثوابت التى تشبه تلك الموجوده فى الاجيال الاولى من الفيجوال بيسك&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;و بالتالى فكما ترى ان هناك اعتماديه من مبرمجى فيجوال بيسك دوت نيت على هذا المجمع&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;strong&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: red; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;مميزات بيئة عمل الدوت نت &lt;/span&gt;&lt;/strong&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;هذه المزايا ساسردها من وجهة نظرى و لكن هناك العديد من المصادر التى تسهب فى هذا الجزء&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;1 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;تكاملية بيئة الدوت نت بما تحمله من دمج لنظام التشغيل و ادوات التطوير و السيرفرات المستخدمه&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;حقيقة هذه احدى مزايا و عيوب مايكروسوفت فى نفس الوقت&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;2 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;لغة واحدة لجميع الاغراض&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;الان يمكن فعلاً كتابة تطبيقات الويب و تطبيقات بيئة الخادم / العميل و التطبيقات المكتبية فى نفس الوقت بنفس اللغة بدون ان تحتاج شركتك لمبرمجين بلغات اخرى .... الم نواجه فى معظم الاحوال كمبرمجين الحاجة لاستخدام لغات اخرى لانشاء مشروعات ويب مثلاً فكنا نضطر لتعلم احدى اللغات مثل&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; PHP &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او غيرها&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;اما الان فيمكنك نقل خبرتك لاستخدام&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;مباشرة باستخدام&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; VB.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;او&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; C# &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بدون الحاجة لتعلم لغات جديدة&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; (&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;Picture_x0020_5&quot;
 o:spid=&quot;_x0000_i1029&quot; type=&quot;#_x0000_t75&quot; alt=&quot;:D&quot; style=&#39;width:15pt;height:15pt;
 visibility:visible;mso-wrap-style:square&#39;&gt;  &lt;v:imagedata src=&quot;file:///C:\Users\ADMINI~1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.gif&quot;
  o:title=&quot;D&quot;/&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img alt=&quot;:D&quot; height=&quot;20&quot; src=&quot;file:///C:\Users\ADMINI~1\AppData\Local\Temp\msohtmlclip1\01\clip_image002.gif&quot; v:shapes=&quot;Picture_x0020_5&quot; width=&quot;20&quot; /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ترى هل سيوفر هذا على الشركات بدون الحاجة للحصول على مبرمجين جدد&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;3 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;الامان&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Security&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;كم من مرة واجهت فيها موقفاً يشبة الموقف التالى ..... قمت بتصميم برنامج يستخدمه مجموعة مختلفة من الاشخاص و انت تريد تحديد صلاحيات داخل برنامجك لكل مجموعة من الاشخاص&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;قمت مرة بتخزين بيانات حساسة و اردت تشفيرها و لم تعرف كيف تقوم بذلك&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;الان اصبح بالامكان استخدام&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Code Access Security &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Evidence-based security &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Role Based Security &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Application Domain &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و استخدام التشفير&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Encryption &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;بدون الحاجة للعديد من الاكواد المعقدة فى معظم الاحيان حيث توفر بيئة الدوت نت العديد من الفئات داخل فضاءات الاسماء&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; System.Security&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;صفحات ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و العديد من الانماط لحماية المحتوى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;4 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;السرعة فى&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP.NET&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;تختلف&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP.NET &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;عن سابقتها&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; ASP &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فى كونها&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Compiled &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و ليست&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Interpreted &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;هذا بالاضافة لامكانية استخدام ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Caching &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;لصفحات معينة كما يمكن تحديد فترة زمنية لهذا التخزيم مما يزيد من كفائتها&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;5 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;انشاء خدمات ويب&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Web Services&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;لا شك ان خدمات الويب اصبحت تلعب دوراً هاماً الان فى ال&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Business Logic &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;و ال&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Code Reuse &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;فركزت عليها مايكروسوفت فى بيئة الدوت نت و اصبح بالامكان برمجة او استخدام خدمات الويب مباشرة من داخل تطبيقك&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background: #FAFBFC;&quot;&gt;6 - &lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;برمجة تطبيقات الاجهزة الذكية&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #fafbfc; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt; Mobile &amp;amp; Smart Applications&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;ميزة جديدة مع الدوت نت و إن كانت غير منتشرة مع انتشار تطبيقات جافا فى الاسواق ... ما زلنا ننتظر الجديد من مايكروسوفت لهذه السوق الجديدة&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;AR-SA&quot; style=&quot;background: #FAFBFC; color: #5d5d5d; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;العديد من المميزات التى ربما لم اتطرق إليها هنا و لكن يمكن البحث عنها فى الانترنت ...... بيئة الدوت نت رائعه و مليئة بالمزايا مهما كانت لغة برمجتك المفضلة لربما احببت ان تلقى نظرة للدوت نت&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/3683673643330170031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/3683673643330170031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/3683673643330170031'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/blog-post.html' title='ما هو الدوت نت'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total><georss:featurename>الإسكندرية، مصر</georss:featurename><georss:point>31.21749957306611 29.987182242187487</georss:point><georss:box>30.663114073066112 29.630422242187485 31.771885073066109 30.343942242187488</georss:box></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-6694388552894630823</id><published>2012-02-05T08:50:00.000-08:00</published><updated>2012-02-05T08:50:28.237-08:00</updated><title type='text'>Start And Kill process</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h3 class=&quot;post-title&quot; style=&quot;background-color: #e0e0e0; color: #993333; font: normal normal bold 130%/normal &#39;Lucida Grande&#39;, &#39;Trebuchet MS&#39;; letter-spacing: -1px; margin-top: 0px; text-align: left;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;Start And Kill process&lt;/h3&gt;&lt;div class=&quot;post-header-line-1&quot; style=&quot;background-color: #e0e0e0; color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;post-body&quot; style=&quot;background-color: #e0e0e0; color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19px; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;title&quot; style=&quot;font-weight: bold;&quot;&gt;Process Class&lt;br /&gt;
&lt;/div&gt;Provides access to local and remote processes and enables you to start and stop local system processes.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Sample Code&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. Start notepad&lt;br /&gt;
System.Diagnostics.Process.Start(&quot;notepad&quot;)&lt;br /&gt;
&lt;br /&gt;
2. Start winword&lt;br /&gt;
System.Diagnostics.Process.Start(&quot;WINWORD&quot;)&lt;br /&gt;
&lt;br /&gt;
3. Start excel&lt;br /&gt;
System.Diagnostics.Process.Start(&quot;Excel&quot;)&lt;br /&gt;
&lt;br /&gt;
4. Start ie and parameter&lt;br /&gt;
System.Diagnostics.Process.Start(&quot;IExplore.exe&quot;, &quot;http://vbnetsample.blogspot.com/&quot;)&lt;br /&gt;
&lt;br /&gt;
5. Kill It!!&lt;br /&gt;
&#39; Kill all notepad process&lt;br /&gt;
Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName(&quot;notepad&quot;)&lt;br /&gt;
&lt;br /&gt;
For Each p As Process In pProcess&lt;br /&gt;
p.Kill()&lt;br /&gt;
Next&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/6694388552894630823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/start-and-kill-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6694388552894630823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6694388552894630823'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/start-and-kill-process.html' title='Start And Kill process'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-1088489593230367341</id><published>2012-02-05T08:10:00.000-08:00</published><updated>2012-02-05T08:10:08.195-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="الأسئله الأكثر شيوعا عن ال API"/><title type='text'>الأسئله الأكثر شيوعا عن ال API</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; font-weight: bold !important; line-height: 19px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;bbc_center&quot; style=&quot;display: block; text-align: center;&quot;&gt;بسم الله الرحمن الرحيم&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br style=&quot;background-color: #fafbfc; color: #5d5d5d; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px;&quot; /&gt;&lt;/div&gt;&lt;ul class=&quot;bbc&quot; style=&quot;background-color: #fafbfc; font-family: tahoma, arial, verdana, sans-serif; font-size: 13px; line-height: 19px; list-style-image: initial; list-style-position: outside; margin-bottom: 0px; margin-left: 0px; margin-right: 30px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;ماذا تعنى الكلمه API؟&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;الكلمه API هى اختصار لـ Application Programming Interface و هى مجموعة من الدوال المتنوعه التى يوفرها نظام التشغيل لمبرمجيه لإجرء عمليات معينه داخل برامجهم.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;بأى لغة برمجه كتبت هذه الـ API؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;بإستخدام Assembly و C و Cpp&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;هل لابد من تعلم هذه الـ API لأبرمج لويندوز؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;اذا كنت تريد صنع تطبيقات قويه لنظام التشغيل و يندوز فأنت بكل تأكيد تريد تعلم الـ API الخاصه به حتى تستطيع الحصول على اكبر قدر من الإستفاده من الخدمات التى يقدمها لك.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;انت لم تجب على سؤالى السابق إجابه صريحه؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;لا، حيث ان اغلب لغات البرمجه تأتى معها مكتباتها الخاصه و التى تتعامل هى ضمنيا مع نظام التشغيل و لكن كما ذكرت سابقا الوسيله الوحيده لكى تحصل على افضل اداء و سرعه هو بإستخدام خدمات نظام التشغيل و التى لن تجد اى مكتبات لأى لغة برمجه توفرها لك داخل ويندوز.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;فيما يمكن ان تفيدنى هذه الـ API ؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;فى تصنيع اى نوع من تطبيقات سطح المكتب&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;هل هذا يعنى انى لا استطيع استخدام هذه الـ API لصنع برنامج للويب؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;نعم لا تستطيع.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;من اين لى مصادر لأتعلم هذه الـ API؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;يتيح لك موقع مايكروسوفت&amp;nbsp;&lt;a class=&quot;bbc_url&quot; href=&quot;http://msdn.microsoft.com/en-us/library/default.aspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;مكتبة الـ MSDN&lt;/a&gt;&amp;nbsp;و التى تعتبر مرجعا عاما لكل دوال الـ API المتاحه بكل انظمة تشغيل مايكروسوفت، ايضا قد تعتبر هذا &amp;nbsp;المكان مرجع لك فى العديد من الأمور.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;حصلت على الكتب، ماذا احتاج كى ابدأ؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;هذا يعتمد على لغة البرمجه التى تعمل بها فإن كانت غير الـ C و الـ Cpp ستحتاج للرجوع لوثائق اللغه الخاصه بك اما إن كانت C او Cpp ستحتاج لتحميل الـ Platform SDK من موقع مايكروسوفت حتى تستطيع البدء فى البرمجه.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ما هى هذه الـ Platform SDK و فيما تختلف عن الـ MSDN؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;الـ Platform SDK هى مجموعة من المكتبات الإستاتيكيه و ملفات الـ Header التى تحتوى على تعاريف دوال نظام التشغيل و لكل اصدار من اصدارات نظام التشغيل نسخه Platform SDK خاصه به، ايضا تحتوى على وثائق تشرح كل الدوال الموجوده بالـ Headers. بالنسبه للـ MSDN فهى تحتوى على وثائق لجميع الدوال الموجوده بكل انظمة تشغيل مايكروسوفت.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;ماهى الـ DDK و WDK؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;الـ Platform SDK تتيح لك تصنيع تطبيقات سطح المكتب، اما اذا كنت ستصنع برامج من نوع Drivers و التى تتطلب ان يعمل برنامجك داخل الـ Kernel Mode سيتطلب منك تحميل الـ WDK من موقع مايكروسوفت.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;مازلت لم تجب سؤالى السابق؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;الـ DDK هى اختصار لـ Driver Development Kit و هى نسخه تتيح لك تصنيع Drivers من ويندوز 2000 و حتى ويندوز 2003 اما اذا اردت تصنيع Drivers لأى نظام تشغيل يتبع ويندوز من 2000 و حتى ويندوز 7 فستحتاج للنسخه الحديثه و هى WDK و هى اختصار لـ Windows Driver Kit&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;ما المقصود بالـ Debug Symbols و فيما تستخدم؟&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;الـ Debug Symobls هى ملفات تحتوى على نسخه معدله من كود نظام التشغيل و تستخدمها اثناء تنقيح برنامج و ذلك حتى تستطيع الدخول على الكود الخاص بأى مكتبه موجوده بنظام التشغيل و تقوم بتنفيذ الكود الخاص بها خطوه بخطوه.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;اذا من اين لى احصل عليها؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;من موقع مايكروسوفت بالطبع، فقط ادخل على&amp;nbsp;&lt;a class=&quot;bbc_url&quot; href=&quot;http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.mspx&quot; rel=&quot;nofollow external&quot; style=&quot;border-bottom-color: rgb(65, 105, 225); border-bottom-style: dotted; border-bottom-width: 1px; color: royalblue; padding-bottom: 0px; text-decoration: none !important;&quot; title=&quot;رابط خارجي &quot;&gt;هذه الصفحه&lt;/a&gt;&amp;nbsp;و ستجد بها كل الـ Debug Symbols لكل اصدارات ويندوز بدءا من الإصدار 2000 و قم بتحميل مع ما يتناسب مع نسخة الويندوز التى تعمل عليها.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;الأن اصبحت لدى معلومات جيده و كل ما ينقصنى هو المحرر؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;المحرر يعتمد اولا على المترجم الذى ستستخدمه و ثانيا على ما تعتاد، صراحة انا افضل الفيجوال ستديو اثناء البرمجه لويندوز و لكن بالطبع قد تختلف معى فى هذا الأمر و لك الحق فى ذلك فكما قلت هى تعتمد عليك فأنت من سيبرمج و ليس انا.&lt;/li&gt;
&lt;li style=&quot;color: #5d5d5d; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;strong class=&quot;bbc&quot; style=&quot;font-weight: bold !important;&quot;&gt;لماذا كتبت هذا الموضوع؟&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;السبب فى انه يوجد اعضاء متلهفين جدا لفعل كل شئ و لا يعطوا لأنفسهم فرصه للبحث لذا قمت بصنع هذا الموضوع حتى يأخذوا هدنه قليله ليفكروا و يعلموا ما هم مقبلين عليه.&lt;/li&gt;
&lt;/ul&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/1088489593230367341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/api.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1088489593230367341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/1088489593230367341'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2012/02/api.html' title='الأسئله الأكثر شيوعا عن ال API'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-6253108583322645377</id><published>2011-05-31T16:00:00.000-07:00</published><updated>2011-05-31T16:00:34.552-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;To all my members &amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;hope to be fine &amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;ISA I will do session in ITI &amp;nbsp;Alexandria branch &amp;nbsp;with title&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 19.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;&quot;&gt;Problems that may come from business requirements and the solving by using&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&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;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 2.0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&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;b&gt;Repository Factory&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;b&gt;all information in this link&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; font-weight: normal; line-height: normal;&quot;&gt;&lt;a href=&quot;http://www.facebook.com/event.php?eid=231379660211259&quot;&gt;http://www.facebook.com/event.php?eid=231379660211259&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/6253108583322645377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/05/to-all-my-members-hope-to-be-fine-isa-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6253108583322645377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/6253108583322645377'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/05/to-all-my-members-hope-to-be-fine-isa-i.html' title=''/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5329419761248944545</id><published>2011-05-22T08:34:00.001-07:00</published><updated>2011-05-22T08:34:56.163-07:00</updated><title type='text'>New session in ITI Alexandria</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 19.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;&quot;&gt;Problems that may come from business requirements and the solving by using&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&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;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; margin-left: 1in; text-align: center; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 19.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;u&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Data Access.net&lt;/u&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; margin-left: 2in; text-align: center; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 20.0pt; line-height: 115%;&quot;&gt;BY&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; margin-left: 1in; text-align: center; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 22.0pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #548dd4; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 25.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi; mso-themecolor: text2; mso-themetint: 153;&quot;&gt;Eslam Ghanem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; text-align: center; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Senior Software at TGL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; line-height: 115%; mso-ascii-theme-font: major-bidi; mso-bidi-theme-font: major-bidi; mso-hansi-theme-font: major-bidi;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&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; &lt;/span&gt;Mcpd enterprise certified &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; margin-left: 0.5in; text-align: center;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;President -IT Committee at American Center Alexandria - V.O.A&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;We will talk about new points to solve some Problem(s) &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;in business requirements like :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;direction: ltr; text-align: center; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 15.0pt; line-height: 115%; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;ArialNarrow,Bold&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: &amp;quot;ArialNarrow\,Bold&amp;quot;;&quot;&gt;Handling Large Objects&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;direction: ltr; text-align: center; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 15.0pt; line-height: 115%; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;ArialNarrow,Bold&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: &amp;quot;ArialNarrow\,Bold&amp;quot;;&quot;&gt;Minimizing and Handling Database Operation Conflicts&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;direction: ltr; text-align: center; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 15.0pt; line-height: 115%; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;ArialNarrow,Bold&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: &amp;quot;ArialNarrow\,Bold&amp;quot;;&quot;&gt;Enhancing Database Performance&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;direction: ltr; text-align: center; text-indent: -0.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 15.0pt; line-height: 115%; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;ArialNarrow,Bold&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-family: &amp;quot;ArialNarrow\,Bold&amp;quot;;&quot;&gt;Creating Managed Code Objects for SQL Server 2008 &lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 15.0pt; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; direction: ltr; margin-left: -28.5pt; text-align: center; width: 720px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 13.9pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border-top: solid white 1.0pt; border: none; height: 13.9pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Audience:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: none; border-left: solid white 1.0pt; border-right: none; border-top: solid white 1.0pt; height: 13.9pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IT professional and developer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 73.4pt; mso-yfti-irow: 1;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border-left: none; border-right: none; border-top: solid white 1.0pt; height: 73.4pt; mso-border-bottom-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Level:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-right: none; border: solid white 1.0pt; height: 73.4pt; mso-border-bottom-alt: solid white .75pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;More than one year of experience   in Software company, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Or One of the required MCP certifications or   Microsoft Dynamics certifications&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Or&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;   &lt;/span&gt;Have&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a good Information About   ADO.net&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Data Access &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Or&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;   &lt;/span&gt;Student in Mcit&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Scholarship&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Development Track&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Or Student in&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;ITI&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Scholarship&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 26.85pt; mso-yfti-irow: 2;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border: none; height: 26.85pt; mso-border-bottom-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Date and Time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border-left: solid white 1.0pt; border-right: none; border-top: none; height: 26.85pt; mso-border-bottom-alt: solid white .75pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;25 –may-2011 6:00 pm To 9:00   PM&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 33.6pt; mso-yfti-irow: 3;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border: none; height: 33.6pt; mso-border-bottom-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Location&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border-left: solid white 1.0pt; border-right: none; border-top: none; height: 33.6pt; mso-border-bottom-alt: solid white .75pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;1 Mahmoud Said St., Shohada   Square, Main Post Office Building, Alexandria&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 28.65pt; mso-yfti-irow: 4;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border: none; height: 28.65pt; mso-border-bottom-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Registration Method &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-bottom: solid white 1.0pt; border-left: solid white 1.0pt; border-right: none; border-top: none; height: 28.65pt; mso-border-bottom-alt: solid white .75pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;a href=&quot;http://www.facebook.com/event.php?eid=227116053971606&quot;&gt;http://www.facebook.com/event.php?eid=227116053971606&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 33.6pt; mso-yfti-irow: 5; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;background: #EDF5FA; border: none; height: 33.6pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 117.0pt;&quot; valign=&quot;top&quot; width=&quot;156&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;For Information &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: #EDF5FA; border-left: solid white 1.0pt; border: none; height: 33.6pt; mso-border-left-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; mso-border-top-alt: solid white .75pt; padding: 3.0pt 7.5pt 3.75pt 7.5pt; width: 423.0pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;   &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;Call Eslam @ 0101174553 Or Email Eslam&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;at E.Ghanem@VOAEgypt.com&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;direction: ltr; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5329419761248944545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/05/new-session-in-iti-alexandria.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5329419761248944545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5329419761248944545'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/05/new-session-in-iti-alexandria.html' title='New session in ITI Alexandria'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-5614676203397678434</id><published>2011-04-22T04:30:00.000-07:00</published><updated>2011-04-22T04:33:43.155-07:00</updated><title type='text'>The new Features about frame work 4.0 part2</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Named Arguments and Optional Parameters&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In another addition to C#, methods now support optional parameters with default values so that when you call such a method you can omit those parameters. You can see this in action in this Car class:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl21&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl21_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl21_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl21&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;class Car {

  public void Accelerate(

    double speed, int? gear = null, 

    bool inReverse = false) { 



    /* ... */ 

  }

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;You can call the method this way:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl22&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl22_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl22_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl22&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Car myCar = new Car();

myCar.Accelerate(55);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This has exactly the same effect as:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl23&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl23_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl23_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl23&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;myCar.Accelerate(55, null, false);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;It’s the same because the compiler will insert all the default values that you omit.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;C# 4.0 will also let you call methods by specifying some arguments by name. In this way, you can pass an argument to an optional parameter without having to also pass arguments for all the parameters that come before it.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Say you want to call Accelerate to go in reverse, but you don’t want to specify the gear parameter. Well, you can do this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl24&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl24_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl24_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl24&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;myCar.Accelerate(55, inReverse: true);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This is a new C# 4.0 syntax, and it’s the same as if you had written:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl25&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl25_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl25_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl25&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;myCar.Accelerate(55, null, true);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In fact, whether or not parameters in the method you’re calling are optional, you can use names when passing arguments. For instance, these two calls are permissible and identical to one another:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl26&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl26_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl26_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl26&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Console.WriteLine(format: &quot;{0:f}&quot;, arg0: 6.02214179e23);

Console.WriteLine(arg0: 6.02214179e23, format: &quot;{0:f}&quot;);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;If you’re calling a method that takes a long list of parameters, you can even use names as a sort of in-code documentation to help you remember which parameter is which.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;On the surface, optional arguments and named parameters don’t look like interop features. You can use them without ever even thinking about interop. However, the motivation for these features comes from the Office APIs. Consider, for example, Word programming and something as simple as the SaveAs method on the Document interface. This method has 16 parameters, all of which are optional. With previous versions of C#, if you want to call this method you have to write code that looks like this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl27&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl27_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl27_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl27&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Document d = new Document();

object filename = &quot;Foo.docx&quot;;

object missing = Type.Missing;

d.SaveAs(ref filename, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Now, you can write this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl28&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl28_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl28_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl28&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Document d = new Document();

d.SaveAs(FileName: &quot;Foo.docx&quot;);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;I would say that’s an improvement for anyone who works with APIs like this. And improving the lives of programmers who need to write Office programs was definitely a motivating factor for adding named arguments and optional parameters to the language.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Now, when writing a .NET library and considering adding methods that have optional parameters, you’re faced with a choice. You can either add optional parameters or you can do what C# programmers have done for years: introduce overloads. In the Car.Accelerate example, the latter decision might lead you to produce a type that looks like this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl29&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl29_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl29_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl29&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;class Car {

  public void Accelerate(uint speed) { 

    Accelerate(speed, null, false); 

  }

  public void Accelerate(uint speed, int? gear) { 

    Accelerate(speed, gear, false); 

  }

  public void Accelerate(uint speed, int? gear, 

    bool inReverse) { 

    /* ... */ 

  }

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Selecting the model that suits the library you’re writing is up to you. Because C# hasn’t had optional parameters until now, the .NET Framework (including the .NET Framework 4) tends to use overloads. If you decide to mix and match overloads with optional parameters, the C# overload resolution has clear tie-breaking rules to determine which overload to call under any given circumstances.&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Indexed Properties&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Some smaller language features in C# 4.0 are supported only when writing code against a COM interop API. The Word interop in the previous illustration is one example.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;C# code has always had the notion of an indexer that you can add to a class to effectively overload the [] operator on instances of that class. This sense of indexer is also called a default indexer, since it isn’t given a name and calling it requires no name. Some COM APIs also have indexers that aren’t default, which is to say that you can’t effectively call them simply by using []—you must specify a name. You can, alternatively, think of an indexed property as a property that takes some extra arguments.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;C# 4.0 supports indexed properties on COM interop types. You can’t define types in C# that have indexed properties, but you can use them provided you’re doing so on a COM type. For an example of what C# code that does this looks like, consider the Range property on an Excel worksheet:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl30&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl30_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl30_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl30&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;using Microsoft.Office.Interop.Excel;



class Program {

  static void Main(string[] args) {

    Application excel = new Application();

    excel.Visible = true;



    Worksheet ws = 

      excel.Workbooks.Add().Worksheets[&quot;Sheet1&quot;];

    // Range is an indexed property

    ws.Range[&quot;A1&quot;, &quot;C3&quot;].Value = 123; 

    System.Console.ReadLine();

    excel.Quit();

  }

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In this example, Range[“A1”, “C3”] isn’t a property called Range that returns a thing that can be indexed. It’s one call to a Range accessor that passes A1 and C3 with it. And although Value might not look like an indexed property, it, too, is one! All of its arguments are optional, and because it’s an indexed property, you omit them by not specifying them at all. Before the language supported indexed properties, you would have written the call like this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl31&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl31_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl31_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl31&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;ws.get_Range(&quot;A1&quot;, &quot;C3&quot;).Value2 = 123;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Here, Value2 is a property that was added simply because the indexed property Value wouldn’t work prior to C# 4.0.&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Omitting the Ref Keyword at COM Call Sites&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Some COM APIs were written with many parameters passed by reference, even when the implementation doesn’t write back to them. In the Office suite, Word stands out as an example—its COM APIs all do this.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;When you’re confronted with such a library and you need to pass arguments by reference, you can no longer pass any expression that’s not a local variable or field, and that’s a big headache. In the Word SaveAs example, you can see this in action—you had to declare a local called filename and a local called missing just to call the SaveAs method, since those parameters needed to be passed by reference.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl32&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl32_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl32_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl32&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Document d = new Document();

object filename = &quot;Foo.docx&quot;;

object missing = Type.Missing;

d.SaveAs(ref filename, ref missing, // ...&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;You may have noticed in the new C# code that followed, I no longer declared a local for filename:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl33&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl33_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl33_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl33&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;d.SaveAs(FileName: &quot;Foo.docx&quot;);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This is possible because of the new omit ref feature for COM interop. Now, when calling a COM interop method, you can pass any argument by value instead of by reference. If you do, the compiler will create a temporary local on your behalf and pass that local by reference for you if required. Of course, you won’t be able to see the effect of the method call if the method mutates the argument—if you want that, pass the argument by ref.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This should make code that uses APIs like this much cleaner.&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Embedding COM Interop Types&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This is more of a C# compiler feature than a C# language feature, but now you can use a COM interop assembly without that assembly having to be present at run time. The goal is to reduce the burden of deploying COM interop assemblies with your application.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;When COM interop was introduced in the original version of the .NET Framework, the notion of a Primary Interop Assembly (PIA) was created. This was an attempt to solve the problem of sharing COM objects among components. If you had different interop assemblies that defined an Excel Worksheet, we wouldn’t be able to share these Worksheets between components, because they would be different .NET types. The PIA fixed this by existing only once—all clients used it, and the .NET types always matched.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Though a fine idea on paper, in practice deploying a PIA turns out to be a headache, because there’s only one, and multiple applications could try to install or uninstall it. Matters are complicated because PIAs are often large, Office doesn’t deploy them with default Office installations, and users can circumvent this single assembly system easily just by using TLBIMP to create their own interop assembly.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;So now, in an effort to fix this situation, two things have happened:&lt;/div&gt;&lt;ul dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 16px; margin-bottom: 12px; margin-left: 18px; margin-right: 0px; margin-top: 12px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #26252a; font-family: inherit; font-size: 11px; font-style: inherit; font-weight: normal; list-style-image: url(http://i3.msdn.microsoft.com/Platform/MasterPages/Msdn10/bullet.gif); list-style-type: square; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;The runtime has been given the smarts to treat two structurally identical COM interop types that share the same identifying characteristics (name, GUID and so on) as though they were actually the same .NET type.&lt;/li&gt;
&lt;li style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #26252a; font-family: inherit; font-size: 11px; font-style: inherit; font-weight: normal; list-style-image: url(http://i3.msdn.microsoft.com/Platform/MasterPages/Msdn10/bullet.gif); list-style-type: square; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;The C# compiler takes advantage of this by simply reproducing the interop types in your own assembly when you compile, removing the need for the interop assembly to exist at run time.&lt;/li&gt;
&lt;/ul&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;I have to omit some details in the interest of space, but even without knowledge of the details, this is another feature—like dynamic—you should be able to use without a problem. You tell the compiler to embed interop types for you in Visual Studio by setting the Embed Interop Types property on your reference to true.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Because the C# team expects this to be the preferred method of referencing COM assemblies, Visual Studio will set this property to True by default for any new interop reference added to a C# project. If you’re using the command-line compiler (csc.exe) to build your code, then to embed interop types you must reference the interop assembly in question using the /L switch rather than /R.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Each of the features I’ve covered in this article could itself generate much more discussion, and the topics all deserve articles of their own. I’ve omitted or glossed over many details, but I hope this serves as a good starting point for exploring C# 4.0 and you find time to investigate and make use of these features. And if you do, I hope you enjoy the benefits in productivity and program readability they were designed to give you.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/5614676203397678434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/new-features-about-frame-work-40-part2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5614676203397678434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/5614676203397678434'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/new-features-about-frame-work-40-part2.html' title='The new Features about frame work 4.0 part2'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-224417819331805390</id><published>2011-04-22T04:22:00.000-07:00</published><updated>2011-04-22T04:24:31.219-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="The new Features about frame work 4.0 part1"/><title type='text'>The new Features about frame work 4.0 part1</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;usually, when I do track Microsoft &amp;nbsp;certified &amp;nbsp;professional developer &amp;nbsp;for vs.net 2008 and 2010&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;some Student Ask me About the new Features about frame work 4.0 I thinks this point will help you&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Covariance and Contravariance&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Covariance and contravariance are best introduced with an example, and the best is in the framework. In System.Collections.Generic, IEnumerable&amp;lt;T&amp;gt; and IEnumerator &amp;lt;T&amp;gt; represent, respectively, an object that’s a sequence of T’s and the enumerator (or iterator) that does the work of iterating the sequence. These interfaces have done a lot of heavy lifting for a long time, because they support the implementation of the foreach loop construct. In C# 3.0, they became even more prominent because of their central role in LINQ and LINQ to Objects—they’re the .NET interfaces to represent sequences.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;So if you have a class hierarchy with, say, an Employee type and a Manager type that derives from it (managers are employees, after all), then what would you expect the following code to do?&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl02&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl02_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl02_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl02&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;IEnumerable&amp;lt;Manager&amp;gt; ms = GetManagers();

IEnumerable&amp;lt;Employee&amp;gt; es = ms;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;It seems as though one ought to be able to treat a sequence of Managers as though it were a sequence of Employees. But in C# 3.0, the assignment will fail; the compiler will tell you there’s no conversion. After all, it has no idea what the semantics of IEnumerable&amp;lt;T&amp;gt; are. This could be any interface, so for any arbitrary interface IFoo&amp;lt;T&amp;gt;, why would an IFoo&amp;lt;Manager&amp;gt; be more or less substitutable for an IFoo&amp;lt;Employee&amp;gt;?&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In C# 4.0, though, the assignment works because IEnumerable&amp;lt;T&amp;gt;, along with a few other interfaces, has changed, an alteration enabled by new support in C# for covariance of type parameters.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;IEnumerable&amp;lt;T&amp;gt; is eligible to be more special than the arbitrary IFoo&amp;lt;T&amp;gt; because, though it’s not obvious at first glance, members that use the type parameter T (GetEnumerator in IEnumerable&amp;lt;T&amp;gt; and the Current property in IEnumerator&amp;lt;T&amp;gt;) actually use T only in the position of a return value. So you only get a Manager out of the sequence, and you never put one in.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In contrast, think of List&amp;lt;T&amp;gt;. Making a List&amp;lt;Manager&amp;gt; substitutable for a List&amp;lt;Employee&amp;gt; would be a disaster, because of the following:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl03&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl03_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl03_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl03&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;List&amp;lt;Manager&amp;gt; ms = GetManagers();

List&amp;lt;Employee&amp;gt; es = ms; // Suppose this were possible

es.Add(new EmployeeWhoIsNotAManager()); // Uh oh&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;As this shows, once you think you’re looking at a List&amp;lt;Employee&amp;gt;, you can insert any employee. But the list in question is actually a List&amp;lt;Manager&amp;gt;, so inserting a non-Manager must fail. You’ve lost type safety if you allow this. List&amp;lt;T&amp;gt; cannot be covariant in T.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The new language feature in C# 4.0, then, is the ability to define types, such as the new IEnumerable&amp;lt;T&amp;gt;, that admit conversions among themselves when the type parameters in question bear some relationship to one another. This is what the .NET Framework developers who wrote IEnumerable&amp;lt;T&amp;gt; used, and this is what their code looks like (simplified, of course):&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl04&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl04_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl04_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl04&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;public interface IEnumerable&amp;lt;out T&amp;gt; { /* ... */ }&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Notice the out keyword modifying the definition of the type parameter, T. When the compiler sees this, it will mark T as covariant and check that, in the definition of the interface, all uses of T are up to snuff (in other words, that they’re used in out positions only—that’s why this keyword was picked).&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Why is this called covariance? Well, it’s easiest to see when you start to draw arrows. To be concrete, let’s use the Manager and Employee types. Because there’s an inheritance relationship between these classes, there’s an implicit reference conversion from Manager to Employee:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;Manager → Employee&lt;/strong&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;And now, because of the annotation of T in IEnumerable&amp;lt;out T&amp;gt;, there’s also an implicit reference conversion from IEnumerable&amp;lt;Manager&amp;gt; to IEnumerable&amp;lt;Employee&amp;gt;. That’s what the annotation provides for:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;IEnumerable&amp;lt;Manager&amp;gt; → IEnumerable&amp;lt;Employee&amp;gt;&lt;/strong&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This is called covariance, because the arrows in each of the two examples point in the same direction. We started with two types, Manager and Employee. We made new types out of them, IEnumerable&amp;lt;Manager&amp;gt; and IEnumerable&amp;lt;Employee&amp;gt;. The new types convert the same way as the old ones.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Contravariance is when this happens backward. You might anticipate that this could happen when the type parameter, T, is used only as input, and you’d be right. For example, the System namespace contains an interface called IComparable&amp;lt;T&amp;gt;, which has a single method called CompareTo:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl05&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl05_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl05_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl05&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;public interface IComparable&amp;lt;in T&amp;gt; { 

  bool CompareTo(T other); 

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;If you have an IComparable&amp;lt;Employee&amp;gt;, you should be able to treat it as though it were an IComparable&amp;lt;Manager&amp;gt;, because the only thing you can do is put Employees in to the interface. Because a manager is an employee, putting a manager in should work, and it does. The in keyword modifies T in this case, and this scenario functions correctly:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl06&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl06_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl06_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl06&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;IComparable&amp;lt;Employee&amp;gt; ec = GetEmployeeComparer();

IComparable&amp;lt;Manager&amp;gt; mc = ec;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This is called contravariance because the arrow got reversed this time:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;Manager → Employee&lt;br /&gt;
IComparable&amp;lt;Manager&amp;gt; ← IComparable&amp;lt;Employee&amp;gt;&lt;/strong&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;So the language feature here is pretty simple to summarize: You can add the keyword in or out whenever you define a type parameter, and doing so gives you free extra conversions. There are some limitations, though.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;First, this works with generic interfaces and delegates only. You can’t declare a generic type parameter on a class or struct in this manner. An easy way to rationalize this is that delegates are very much like interfaces that have just one method, and in any case, classes would often be ineligible for this treatment because of fields. You can think of any field on the generic class as being both an input and an output, depending on whether you write to it or read from it. If those fields involve type parameters, the parameters can be neither covariant nor contravariant.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Second, whenever you have an interface or delegate with a covariant or contravariant type parameter, you’re granted new conversions on that type only when the type arguments, in the usage of the interface (not its definition), are reference types. For instance, because int is a value type, the IEnumerator&amp;lt;int&amp;gt; doesn’t convert to IEnumerator &amp;lt;object&amp;gt;, even though it looks like it should:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;IEnumerator &amp;lt;int&amp;gt;&amp;nbsp;&lt;/strong&gt;&lt;img alt=&quot;image: right arrow with slash&quot; src=&quot;http://i.msdn.microsoft.com/ff796223.Burrows_special_character(en-us,MSDN.10).png&quot; style=&quot;border-bottom-style: none; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-style: initial; border-top-style: none; border-top-width: 0px; border-width: initial; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot; title=&quot;&quot; /&gt;&amp;nbsp;&amp;nbsp;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;IEnumerator &amp;lt;object&amp;gt;&lt;/strong&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The reason for this behavior is that the conversion must preserve the type representation. If the int-to-object conversion were allowed, calling the Current property on the result would be impossible, because the value type int has a different representation on the stack than an object reference does. All reference types have the same representation on the stack, however, so only type arguments that are reference types yield these extra conversions.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Very likely, most C# developers will happily use this new language feature—they’ll get more conversions of framework types and fewer compiler errors when using some types from the .NET Framework (IEnumerable&amp;lt;T&amp;gt;, IComparable&amp;lt;T&amp;gt;, Func&amp;lt;T&amp;gt;, Action&amp;lt;T&amp;gt;, among others). And, in fact, anyone designing a library with generic interfaces and delegates is free to use the new in and out type parameters when appropriate to make life easier for their users.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;By the way, this feature does require support from the runtime—but the support has always been there. It lay dormant for several releases, however, because no language made use of it. Also, previous versions of C# allowed some limited conversions that were contravariant. Specifically, they let you make delegates out of methods that had compatible return types. In addition, array types have always been covariant. These existing features are distinct from the new ones in C# 4.0, which actually let you define your own types that are covariant and contravariant in some of their type parameters.&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Dynamic Dispatch&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;On to the interop features in C# 4.0, starting with what is perhaps the biggest change.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;C# now supports dynamic late-binding. The language has always been strongly typed, and it continues to be so in version 4.0. Microsoft believes this makes C# easy to use, fast and suitable for all the work .NET programmers are putting it to. But there are times when you need to communicate with systems not based on .NET.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Traditionally, there were at least two approaches to this. The first was simply to import the foreign model directly into .NET as a proxy. COM Interop provides one example. Since the original release of the .NET Framework, it has used this strategy with a tool called TLBIMP,&amp;nbsp; which creates new .NET proxy types you can use directly from C#.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;LINQ-to-SQL, shipped with C# 3.0, contains a tool called SQLMETAL, which imports an existing database into C# proxy classes for use with queries. You’ll also find a tool that imports Windows Management Instrumentation (WMI) classes to C#. Many technologies allow you to write C# (often with attributes) and then perform interop using your handwritten code as basis for external actions, such as LINQ-to-SQL, Windows Communication Foundation (WCF) and serialization.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The second approach abandons the C# type system entirely—you embed strings and data in your code. This is what you do whenever you write code that, say, invokes a method on a JScript object or when you embed a SQL query in your ADO.NET application. You’re even doing this when you defer binding to run time using reflection, even though the interop in that case is with .NET itself.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The dynamic keyword in C# is a response to dealing with the hassles of these other approaches. Let’s start with a simple example—reflection. Normally, using it requires a lot of boilerplate infrastructure code, such as:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl07&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl07_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl07_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl07&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;object o = GetObject();

Type t = o.GetType();

object result = t.InvokeMember(&quot;MyMethod&quot;, 

  BindingFlags.InvokeMethod, null, 

  o, new object[] { });

int i = Convert.ToInt32(result);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;With the dynamic keyword, instead of calling a method MyMethod on some object using reflection in this manner, you can now tell the compiler to please treat o as dynamic and delay all analysis until run time. Code that does that looks like this:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;dynamic o = GetObject();

int i = o.MyMethod();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;It works, and it accomplishes the same thing with code that’s much less convoluted.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The value of this shortened, simplified C# syntax is perhaps more clear if you look at the ScriptObject class that supports operations on a JScript object. The class has an InvokeMember method that has more and different parameters, except in Silverlight, which actually has an Invoke method (notice the difference in the name) with fewer parameters. Neither of these are the same as what you’d need to invoke a method on an IronPython or IronRuby object or on any number of non-C# objects you might come into contact with.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In addition to objects that come from dynamic languages, you’ll find a variety of data models that are inherently dynamic and have different APIs supporting them, such as HTML DOMs, the System.Xml DOM and the XLinq model for XML. COM objects are often dynamic and can benefit from the delay to run time of some compiler analysis.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Essentially, C# 4.0 offers a simplified, consistent view of dynamic operations. To take advantage of it, all you need to do is specify that a given value is dynamic, ensuring that analysis of all operations on the value will be delayed until run time.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In C# 4.0, dynamic is a built-in type, and a special pseudo-keyword signifies it. Note, however, that dynamic is different from var. Variables declared with var actually do have a strong type, but the programmer has left it up to the compiler to figure it out. When the programmer uses dynamic, the compiler doesn’t know what type is being used—the programmer leaves figuring it out up to the runtime.&lt;/div&gt;&lt;h2 dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; color: #260859; font-family: &#39;Segoe UI Semibold&#39;, &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 16px; font-style: inherit; font-weight: bold; line-height: 20px; margin-bottom: 4px; margin-left: 0px; margin-right: 0px; margin-top: 3px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 7px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;Dynamic and the DLR&lt;/h2&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The infrastructure that supports these dynamic operations at run time is called the Dynamic Language Runtime (DLR). This new .NET Framework 4 library runs on the CLR, like any other managed library. It’s responsible for brokering each dynamic operation between the language that initiated it and the object it occurs on. If a dynamic operation isn’t handled by the object it occurs on, a runtime component of the C# compiler handles the bind. A simplified and incomplete architecture diagram looks something like&amp;nbsp;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;Figure 1&lt;/strong&gt;.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;&lt;img alt=&quot;image: The DLR Runs on Top of the CLR&quot; src=&quot;http://i.msdn.microsoft.com/ff796223.Burrows_Figure1_hires(en-us,MSDN.10).png&quot; style=&quot;border-bottom-style: none; border-bottom-width: 0px; border-color: initial; border-color: initial; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-style: initial; border-top-style: none; border-top-width: 0px; border-width: initial; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot; title=&quot;&quot; /&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Figure 1&amp;nbsp;&lt;strong style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: bold; 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;&quot;&gt;The DLR Runs on Top of the CLR&lt;/strong&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The interesting thing about a dynamic operation, such as a dynamic method call, is that the receiver object has an opportunity to inject itself into the binding at run time and can, as a result, completely determine the semantics of any given dynamic operation. For instance, take a look at the following code:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;dynamic d = new MyDynamicObject();

d.Bar(&quot;Baz&quot;, 3, d);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;If MyDynamicObject was defined as shown here, then you can imagine what happens:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;class MyDynamicObject : DynamicObject {

  public override bool TryInvokeMember(

    InvokeMemberBinder binder, 

    object[] args, out object result) {



    Console.WriteLine(&quot;Method: {0}&quot;, binder.Name);

    foreach (var arg in args) {

      Console.WriteLine(&quot;Argument: {0}&quot;, arg);

    }



    result = args[0];

    return true;

  }

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In fact, the code prints:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;Method: Bar

Argument: Baz

Argument: 3

Argument: MyDynamicObject&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;By declaring d to be of type dynamic, the code that consumes the MyDynamicObject instance effectively opts out of compile-time checking for the operations d participates in. Use of dynamic means “I don’t know what type this is going to be, so I don’t know what methods or properties there are right now. Compiler, please let them all through and then figure it out when you really have an object at run time.” So the call to Bar compiles even though the compiler doesn’t know what it means. Then at run time, the object itself is asked what to do with this call to Bar. That’s what TryInvokeMember knows how to handle.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Now, suppose that instead of a MyDynamicObject, you used a Python object:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl12&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl12_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl12_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl12&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;dynamic d = GetPythonObject();

d.bar(&quot;Baz&quot;, 3, d);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;If the object is the file listed here, then the code also works, and the output is much the same:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;def bar(*args):

  print &quot;Method:&quot;, bar.__name__

  for x in args:

    print &quot;Argument:&quot;, x&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Under the covers, for each use of a dynamic value, the compiler generates a bunch of code that initializes and uses a DLR CallSite. That CallSite contains all the information needed to bind at run time, including such things as the method name, extra data, such as whether the operation takes place in a checked context, and information about the arguments and their types.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This code, if you had to maintain it, would be every bit as ugly as the reflection code shown earlier or the ScriptObject code or strings that contain XML queries. That’s the point of the dynamic feature in C#—you don’t have to write code like that!&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;When using the dynamic keyword, your code can look pretty much the way you want: like a simple method invocation, a call to an indexer, an operator, such as +, a cast or even compounds, like += or ++. You can even use dynamic values in statements—for example, if(d) and foreach(var x in d). Short-circuiting is also supported, with code such as d &amp;amp;&amp;amp; ShortCircuited or d ?? ShortCircuited.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The value of having the DLR provide a common infrastructure for these sorts of operations is that you’re no longer having to deal&amp;nbsp; with a different API for each dynamic model you’d like to code against—there’s just a single API. And you don’t even have to use it. The C# compiler can use it for you, and that should give you more time to actually write the code you want—the less infrastructure code you have to maintain means more productivity for you.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The C# language provides no shortcuts for defining dynamic objects. Dynamic in C# is all about&lt;em style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: italic; font-weight: inherit; 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;&quot;&gt;consuming and using&lt;/em&gt;&amp;nbsp;dynamic objects. Consider the following:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl14&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl14_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl14_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl14&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;dynamic list = GetDynamicList();

dynamic index1 = GetIndex1();

dynamic index2 = GetIndex2();

string s = list[++index1, index2 + 10].Foo();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;This code compiles, and it contains a lot of dynamic operations. First, there’s the dynamic pre-increment on index1, then the dynamic add with index2. Then a dynamic indexer get is called on list. The product of those operations calls the member Foo. Finally, the total result of the expression is converted to a string and stored in s. That’s five dynamic operations in one line, each dispatched at run time.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;The compile-time type of each dynamic operation is itself dynamic, and so the “dynamicness” kind of flows from computation to computation. Even if you hadn’t included dynamic expressions multiple times, there still would be a number of dynamic operations. There are still five in this one line:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl15&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl15_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl15_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl15&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;string s = nonDynamicList[++index1, index2 + 10].Foo();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Because the results of the two indexing expressions are dynamic, the index itself is as well. And because the result of the index is dynamic, so is the call to Foo. Then you’re confronted with converting a dynamic value to a string. That happens dynamically, of course, because the object could be a dynamic one that wants to perform some special computation in the face of a conversion request.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Notice in the previous examples that C# allows implicit conversions from any dynamic expression to any type. The conversion to string at the end is implicit and did not require an explicit cast operation. Similarly, any type can be converted to dynamic implicitly.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;In this respect, dynamic is a lot like object, and the similarities don’t stop there. When the compiler emits your assembly and needs to emit a dynamic variable, it does so by using the type object and then marking it specially. In some sense, dynamic is kind of an alias for object, but it adds the extra behavior of dynamically resolving operations when you use it.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;You can see this if you try to convert between generic types that differ only in dynamic and object; such conversions will always work, because at runtime, an instance of List&amp;lt;dynamic&amp;gt; actually is an instance of List&amp;lt;object&amp;gt;:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;List&amp;lt;dynamic&amp;gt; ld = new List&amp;lt;object&amp;gt;();&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;You can also see the similarity between dynamic and object if you try to override a method that’s declared with an object parameter:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl17&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl17_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl17_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl17&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;class C {

  public override bool Equals(dynamic obj) { 

    /* ... */ 

  }

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Although it resolves to a decorated object in your assembly, I do like to think of dynamic as a real type, because it serves as a reminder that you can do most things with it that you can do with any other type. You can use it as a type argument or, say, as a return value. For instance, this function definition will let you use the result of the function call dynamically without having to put its return value in a dynamic variable:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl18&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl18_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl18_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl18&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;public dynamic GetDynamicThing() { 

  /* ... */ }&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;There are a lot more details about the way dynamic is treated and dispatched, but you don’t need to know them to use the feature. The essential idea is that you can write code that looks like C#, and if any part of the code you write is dynamic, the compiler will leave it alone until run time.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;I want to cover one final topic concerning dynamic: failure. Because the compiler can’t check whether the dynamic thing you’re using really has the method called Foo, it can’t give you an error. Of course, that doesn’t mean that your call to Foo will work at run time. It may work, but there are a lot of objects that don’t have a method called Foo. When your expression fails to bind at run time, the binder makes its best attempt to give you an exception that’s more or less exactly what the compiler would’ve told you if you hadn’t used dynamic to begin with.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Consider the following code:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl19&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl19_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl19_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl19&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;try 

{

  dynamic d = &quot;this is a string&quot;;

  d.Foo();

}

catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException e)

{

  Console.WriteLine(e.Message);

}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Here I have a string, and strings clearly do not have a method called Foo. When the line that calls Foo executes, the binding will fail and you’ll get a RuntimeBinderException. This is what the previous program prints:&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl20&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;libCScode&quot; dir=&quot;ltr&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl20_&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 5px; display: block; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 20px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 614px;&quot;&gt;&lt;div class=&quot;CodeSnippetTitleBar&quot; style=&quot;background-color: #dddddd; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; height: 15px; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; white-space: nowrap; word-spacing: normal;&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; float: left; font-family: inherit; font-style: inherit; font-weight: inherit; 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; text-align: left;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #dddddd; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl20_code&quot; space=&quot;preserve&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #dddddd; 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-color: rgb(200, 205, 222); border-top-style: solid; border-top-width: 1px; color: #000066; display: block; font-family: &#39;Courier New&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; padding-top: 5px; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl20&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; 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;&quot;&gt;&#39;string&#39; does not contain a definition for &#39;Foo&#39;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; 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; text-align: left;&quot;&gt;Which is exactly the error message you, as a C# programmer, expect.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/224417819331805390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/new-features-about-frame-work-40-part1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/224417819331805390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/224417819331805390'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/new-features-about-frame-work-40-part1.html' title='The new Features about frame work 4.0 part1'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-343538669341501344</id><published>2011-04-21T19:27:00.000-07:00</published><updated>2011-04-21T19:27:52.685-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="مقارنات بسيطه بين لغات البرمجه"/><title type='text'>بأول نصيحة لراغبى تعلم البرمجة فبل أن يبدأ مشواره</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000097; font-family: Arial; font-size: 16px; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;وبداية نبدأ بأول نصيحة لراغبى تعلم البرمجة فبل أن يبدأ مشواره&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;يا&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;من تريد تعلم البرمجة يجب عليك أن تحدد الهدف الذى دفعك لتعلم البرمجة , لأن الهدف هو الذى سوف يحدد لك الطريق الذى سوف تسلكه , حيث أن للبرمجة طرق وأساليب ولغات بناء على هدفك سوف تحدد لغتك وطريقتك وأسلوبك فى العمل&lt;br /&gt;
&lt;br /&gt;
وهنا لمن يريد البدا فى تعلم البرمجة من خلال هذة النقطة سوف يحدد فى البداية اللغة التى سوف يتعلمها ثم يتعلم كيف يحقق أهدافه بها ,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;****&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;نأتى للنصيحة الثانية ونقول فيها&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;إذا أردت أن تصعد مبنى أو ناطحة سحاب فلا تستخدم المصعد الكهربائى&lt;br /&gt;
يتعجب البعض ويتسائل !! وكيف أصعد ناطحة السحاب إذن؟!!&lt;br /&gt;
أقول له تصعد على قدميك باستخدام السلم ولا تحاول أن تقفز , بل يجب عليك أن تصعد درجات السلم درجة درجة بهدوء وتأنى&lt;br /&gt;
&lt;br /&gt;
ما معنى هذا الكلام&lt;br /&gt;
معناه أنك من خلال تحديد هدفك فى النصحية الأولى تستطيع اختيار اللغة التى سوف تتعلمها لتحقق بها هدفك&lt;br /&gt;
ولكن قبل أن تبدأ يجب عليك أن تعلم جيدا أن مشوارك طويل يجب عليك أن تبدأ من الصفر ولا تتسرع ولا تتجاهل أشياء على حساب أشياء أخرى&lt;br /&gt;
فإذا أردت أن تبنى بناء صلبا متينا لا تؤثر فيه الرياح يجب عليك أن تهتم بالأساس والأعمدة التى سيقام عليها البناء&lt;br /&gt;
&lt;br /&gt;
وهنا سؤال يطرح نفسه دائما&lt;br /&gt;
كيف أفرق بين لغات البرمجة وكيف أحدد اي منها أفضل أو بعبارة أخرى أى منها أقوى او بعبارة أصح أى منها يحقق الهدف&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;******&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;فيجوال بيسيك 6&lt;br /&gt;
Visual Basic 6&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;div align=&quot;center&quot;&gt;Visual Basic اداة قوية وفعالة لتطوير تطبيقات متوافقة مع بيئة Windows. يوفر لك بيئة تطوير متكاملة سهلة الاستخدام لانشاء الحلول سواء كانت شخصية او تجارية في وقت قياسي عن طريق فلسفة البرمجة المرئية. حيث تصمم الشاشات ونوافذ برنامجك عن طريق نقرات وتحريكات خفيفة بالفأرة كأنك ترسم مربعات ودوائر باستخدام برامج رسم وغيرها.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
البيزيك المرئى&lt;br /&gt;
هى بيئة تطوير و لغة برمجة من مايكروسوفت تستند إلى لغة البيسك الشهيرة. و هى تصنف ضمن لغات البرمجة الشيئية. منذ أن بدأت مايكروسوفت في اصدار الفيجوال بيسك و هى تلاقى نجاحا باهرا و شعبية لا بأس بها بين المبرمجين نظرا لسهولتها الشديدة في مقابل التعقيد الشديد الذى يواجهه أى مبرمج يسعى لبرمجة ويندوز باستخدام السى أو السى++. الا أن الفيجوال بيسك ربما تكون هى من أسؤ اللغات التى تكتب عليها برامج الويندوز الآن طبعا بعد الجافا.عموما تناسب الفيجوال بيسك تطبيقات قواعد بيانات و التطبيقات المخصصة للشركات الصغيرة و برامج الحسابات و هى مريحة و سهلة و تؤدى الغرض بالاضافة إلى أنها تسمح للمبرمج بالتركيز على حل المشكلة فغالبا ما لا يواجه صعوبات فنية أثناء كتابة برنامج بالفيجوال بيسك. و لكن بقى أن نذكر أن برامج الفيجوال بيسك لا تتم ترجمتها كاملة إلى لغة الألة مثل السى++ أو الدلفى و انما تترجم إلى كود وسطى يتصل مع مكتبة ربط تسمى ب&quot;Run Time library&quot; و اسمها MSVBMnn.dll مع ملاحظة أن حرفى ال&quot;ان&quot; يشيران إلى رقم الاصدارة.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
لغة البرمجة فيجوال بيسك هي لغة ذات تصميم مرئي واجهة رسومية بعكس بعض اللغات مثل الاسمبلي ذات الشاشة السوداء . حيث تحتوي هذه اللغة على العديد من الاوامر بداخلها ولغة سهلة التطبيق تم تطوير هذه النسخة من البرنامج عن النسخة القديمة basic و التي تعمل تحت بيئة Dos إلى هذه النسخة التي تعمل تحت بيئة ويندوز . تعتمد اللغة في تطوير تطبيقاتها على الكائنات فهي تشبه العديد من لغات البرمجة الحديثة من حيث اعتمادها على الديناميكية و الاحداث. تعني الديناميكية في هذه اللغة القدرة على استدعاء اي اقتران او اجراء اعتمادا على الحدث. الحدث هو اي عملية يقوم بها مستخدم التطبيق على التطبيق مثل الضغط بزر الفارة او الضغط على أحد ازرار لوحة المفاتيح او حتى تحميل نموذج&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
مميزات الفيجوال بيسك&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* لغة سهلة و سريعة لانشاء تطبيقات ويندوز.&lt;br /&gt;
* تدعم البرمجة الشيئية الا أن ذلك ليس بشكل كامل.&lt;br /&gt;
* تجربة برامج الفيجوال بيسك سهلة و سريعة لاعتمادها على مكتبة الربط خلال و قت التشغيل.&lt;br /&gt;
* سهولة اكتشاف الاخطاء فيها لانها تعتمد على نظام المفسر الذى يختبر كل خطوة من خطوات الكود على حدة واذا اكتشف فيها خطأ يتوقف ويبين لك الخطأ داخل الكود&lt;br /&gt;
&lt;br /&gt;
عيوب الفيجوال بيسك&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
لا يتم ترجمتها بشكل كامل إلى لغة الألة.&lt;br /&gt;
لا تدعم كافة أشكال البرمجة الشيئية.&lt;br /&gt;
المترجم نفسه به بعض الشوائب و التى تظهر في البرنامج المكتوب حتى في حالة خلو البرنامج المصدر من الأخطاء.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
التوافقية مع ويندوز&lt;br /&gt;
التطبيقات التي تنشئها بواسطة Visual Basic متوافقة 100% مع اصدارات Windows المختلفة. فالنواة الداخلية للتطبيقات المنشئة بواسطة Visual Basic هي عبارة عن سيل من اجراءات API التي عبارة عن روح نظام Windows. اما عن الدوال الاضافية التي توفرها لغة البرمجة فهي موجودة في مكتبة مستقلة MSVBVM60.DLL وهي المسؤولة عن تشغيل برامجك التي طورتها عن طريق Visual Basic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول&lt;br /&gt;
لغة الفيجوال بيسيك لغة سهلة التعلم وتفيدك فى إنشاء التطبيقات المكتبية البسيطة وتطبيقات قواعد البيانات والبرامج التعليمية والحسابية&lt;br /&gt;
ولكنها لها حدود لا يمكن أن تتعداها , فلا يمكنك أن تصمم بها نظام تشغيل , لان تصميم نظام تشغيل يجب أن يكون بلغة الالة أو بلغة برمجة تتعامل مع الالة بشكل مباشر وهذا طبعا غير متاح فى فيجوال بيسيك&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;*******&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;فيجوال بيسيك دوت نت&lt;br /&gt;
Visual Basic .Net&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;فيجوال بيسيك دوت نت تعتبر لغة برمجة جديدة وليس لها علاقة بالاصدارات السابقة من فيجوال بيسيك من الاصدار 1 حتى الاصدار6&lt;br /&gt;
فالتشابه هنا فى الاسم مع اضافة المقطع دوت نت .NET والذى يوضح لنا أنها لغة برمجة تعتمد على اطار العمل Microsoft .NET Framework والذى يعتبر بحر عميق يحتوى على ثروة هائلة من الأدوات البرمجية والكلاسيس التى تسهل عليك الكثير والكثير من العناء فى الحصول على أدوات برمجية اضافية ووحدات نمطية وأكواد كثيرة لتجعل برنامجك أكثر فاعلية وقوة&lt;br /&gt;
&lt;br /&gt;
ويقول محمد حمدى غانم فى كتابه&lt;br /&gt;
&quot;من الصفر الى الاحتراف فيجوال بيسيك 2008&quot;&lt;br /&gt;
في نهاية عام 2001 أقدمت ميكروسوفت أخيرا على الخطوة التي طال انتظارها، فأصدرت نسخة جديدةً بكلّ المقاييس من فيجيوال بيزيك، بنتها من جذورها From scratch لتجعلها إحدى لغات نظام فيجيوال ستديو دوت نت VS.NET، لتستفيد بكل قدرات إطار العمل Framework، فتصير بذلك ندّا حقيقيّا لعائلة لغات C++، بحيثُ تتسيد فيجيوال بيزيك برمجة تطبيقات مواقع الإنترنت والتطبيقات التجاريّة وتطبيقات قواعد البيانات والوسائط المتعدّدة ومعظم الألعاب وما شابه!&lt;br /&gt;
وأعتقدُ أنّ هذا هو السبب الذي دفع ميكروسوفت إلى إصدار اللغة الجديدة سي شارب C#، التي تُعتبر توأما لفيجيوال بيزيك إلا إنّها تستخدم قواعد C++ في كتابة الأوامر، ممّا يشكّلُ لمبرمجي C++ إغراءً تصعبُ مقاومته للانتقالِ إليها، كما انضمت لغة J# إلى عائلة دوت نت عام 2003، لتشكل إغراء لمبرمجي الجافا تصعب مقاومته!&lt;br /&gt;
&lt;br /&gt;
ولكن مهما كانت سهولة C# و J#، فإنّ VB تصرعُهما في هذا المضمار، فهي أقربُ ما تكونُ إلى اللّغةِ الإنجليزيّة العاديّة، ولا تحتوي على الرموزِ الكثيرةِ المملّة التي تملأ سي شارب وجي شارب، مثل ; ، ++ ، == ، ----.... إلى آخر هذه الرموزِ التي تجعلُ احتمالاتِ الخطإ عند كتابةِ الكودِ أعلى، وتجعلُ البرنامجَ أصعبَ فهمًا وأقلَّ ألفةً عندَ قراءته.&lt;br /&gt;
ولم تتوقف ميكروسوفت عن التطوير لحظة، ففي العام التالي أصدرت دوت نت 2003، وبعدها بعامين أصدرت دوت نت 2005 التي ضيقت الفجوة أكثر بين فيجيوال بيزيك وسي شارب بإضافة بعض القدرات الناقصة (مثل إعادة تعريف المعاملات Operator Overloading).. وها هي ذي دوت نت 2008 تأتي لتقدم أذكى نسخة من فيجيوال بيزيك.. نسخة قادرة على تعريف أنواع مجهولة Anonymous Types من تلقاء نفسها بناء على فهمهما للقيم التي تكتبها في الكود، بل وتمكّنك من كتابة وسائل إضافية Extended Methods للفئات الجاهزة الموجودة في اللغة، بالإضافة إلى استخدام الاستعلام المتكامل IinQ، وغير ذلك من الإمكانيات المدهشة&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
الجديد فى فيجوال بيسك دوت نت&lt;br /&gt;
&quot;نقلا عن بعض الكتب العربية والمتخصصين فى هذا المجال&quot;&lt;br /&gt;
&lt;br /&gt;
إنّ التطويرات التي لحقت بـ VB.Net من الكثرةِ بحيثُ لن نستطيع أن نحيطَ بها كلّها هنا.. ولكن يكفي أن نذكر منها ما يلي:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- لم تعد لـ VB واجهة استخدام مستقلّة، فكلّ لغات VS.Net تستخدم واجهة واحدة، مليئة بالأدواتِ التي تُسهّل بطريقة مدهشة عمليّةَ تصميم البرنامج.. إنّ هذه الميزة تسمح لك بإنشاء تطبيقات تدخل فيها أكثر من لغة برمجة، دون أن تحتاج لفتح أكثر من واجهة.. إنّها واجهة واحدة فقط لكلّ المبرمجين.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- هناك إمكانيّات جديدةٌ في نافذة محرّر الكود، منها قيام اللغة بكتابة جملة نهاية المقطع تلقائيّا، بمجرّد كتابتك لبدايته وضغط زرّ Enter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
كمّا أنّ هناك تحسيناتٍ كثيرةً في تلميحات الشاشةِ التي تعرضُ قيمَ المتغيّراتِ وأنواعَها ومعاملاتِ الإجراءاتِ والدوالِّ وقيمَها المعادة، مع نبذة عن وظيفة كلّ دالة وكلّ معامل.. باختصار: لقد أصبحت كتابة الكود متعة.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- هناك تحسيناتٌ كثيرةٌ في مظهر النموذج والأدوات، وهناك العديدُ من الخصائص والوسائل الجديدة التي تمّت إضافتها لهذه العناصر، بحيث تمنحك تحكّما أكبر فيها.. فمثلا، أصبح بإمكانك تحديد درجة شفافية النموذج، كما صار بإمكانك تحديد المنطقة التي ستظهر منه على الشاشة، بحيث يمكنك تصميم نماذج بأيّ شكل.. ولم تعد مضطرّا لكتابة الكود الذي يحافظ على تناسب مقاييس الأدوات مع مقاييس النموذج كلّما تغيّر حجم النموذج، فقد صارت هناك خصائصُ جاهزةٌ مسئولةً عن هذا.. هذا بخلافِ العديد من الأدوات الجديدة، مثل الفاصل Splitter الذي يُمكّنك من تغييرِ حجمِ الأدوات المتجاورةِ أثناء تشغيل البرنامج.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- صار بإمكانك إضافة الأزرار والأدوات للنماذج في وقت التنفيذ Run Time، مع قدرتك على ربطها بأيّ إجراء، ليتمّ استدعاؤه عند ضغطها.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- لم يعد هناك أيّ قصور في مترجم الكود Compiler، فكلّ لغات VS.Net تعمل على مترجم واحد، ممّا يعني أنّ VB قد صار بقوّة وسرعة وكفاءة VC++.. وكمثال، صار بإمكانك استخدام البرمجة الارتداديّة Recursive Programming دونّ أن تخشى من بطئها أو استهلاكها لحجم الذاكرة، فقد صارت في منتهى السرعة والكفاءة.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك معالجة الأخطاء، عن طريق استخدام معالجات الاستثناءات Exception Handlers في جملة Try.. Catch.. End Try.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- VB.Net مبنيّةٌ بالكاملِ على مفهومِ البرمجةِ بالكائنات Object Oriented Programming، لدرجة أنّ الأعدادَ الصحيحة Integers والنصوص Strings والمصفوفات Arrays قد صارت خلايا Classes، وصارت لهذه العناصرِ خصائصُ ووسائلُ جاهزة.. فمثلا، أصبحت لديك وسائل جاهزة تنتمي للمتغيّر النصّيّ، تسمح لك بالبحث فيه أو تقطيعه أو استبدال أجزاء منه... إلخ... كما صارت لديك وسائلُ جاهزةٌ لعكسِ المصفوفةِ وترتيبِها والبحثِ فيها!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- صار بإمكانك استخدام كلّ مفاهيم الوراثة Inheritance وتعدّد الأشكال Polymorphism بلا أيّ مشاكل.. وإن كان مسموحا لك بوراثة خليّة واحدة فقط Single Inheritance للتسهيل.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- يمنحك إطار العمل .Net Framework ثروة هائلة من الخلايا Classes، تقدّر بـ 3500 خليّة، تفعل كلّ ما تحلم به وأكثر، بحيث تريحك بدرجة كبيرةٍ من الاحتياج لاستخدام دوال API الخاصّة بالويندوز، بما فيها من تعقيد ومشاكل.. وأحدث ما فعلته (ميكروسوفت)، هو إصدار نسخة جديدة من DirectX مبنيّة بالكامل بالخلايا بدلا من APIs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- هذا بخلاف أنّ معظم هذه الخلايا قابل للوراثة، بما فيها الأدوات Controls نفسها، ممّا يمنحك القدرة على تطوير أدائها بما يناسبك.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- ومن الخلايا الجاهزة العديدة التي يمكنك استخدامها، الخلايا التالية: Stack ـ Queue ـ BitArray، و ArrayList وغيرها.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك تعريف المتغيّرات داخل مقاطع الجمل الشرطيّة If Statements والجمل التكراريّة Loops، بحيث تكون معزولة عن المتغيّرات الموجودة خارج هذه المقاطع.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- بل أصبح بإمكانك تعريف الخلايا داخل الخلايا Nested Classes، وأيّ نوعٍ Type داخل أيّ نوع آخر.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك تعريف الواجهات Interfaces وكتابة الخلايا التي تطبّقها وتنفّذها.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك استخدام المندوب Delegate كمعامل للإجراءات والدوال، بحيث يمكنك تمرير اسم أيّ إجراء أو دالة كمعامل!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك استخدام السمات Attributes في تعريف الخلايا والوسائل والخصائص والأنواع المختلفة، ممّا يختصر لك الكثير من العمل، ويمنحك العديد من القدرات.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- لديك إمكانيّات جديدة وعديدة تمنحها لك خلايا جاهزة، للتعامل مع الملفّات والمجلّدات.. وعلى سبيل المثال، يمكنك أن تراقب أيّ تغيير يطرأ على ملفّات المجلّد الذي تريد، باستخدام الأداة FileSystemWatcher، كما يمكنك أن تخزّن كائنا أو مصفوفة أو مجموعة Collection من أيّ نوعٍ إلى ملفّ مرّة واحدة، وإعادة قراءتها حينما تريد، باستخدام خلايا السلسلة Serialization.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- هناك إمكانيّات هائلة في مجال الرسم والتلوين تمنحها لك مكتبة GDI+.. يكفي أن تعرف أنّ بإمكانك الآن رسم منحنيات معقّدة، وتكوين أشكال مركّبة من مجموعة خطوط ومضلّعات ومنحنيات، وتلوين السطوح بألوان متدرّجة، وتحديد شكل مساحة الرسم، وتحديد درجة الشفافية، وتدوير الرسوم وتغيير مقاييسها تكبيرا أو تصغيرا.... إلخ.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- يمكنك استخدام المؤشّرات Pointers في بعض الأحيان، للقراءة والكتابة في الذاكرة، كما يمكنك أداء عمليّات معقّدة على النظام System لم تكن لتحلم بها!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أصبح بإمكانك تقسيم برنامجك لمجموعة من العمليّات المستقلّة Threads، ممّا يعني أنّ برنامجك يستطيع القيام بأكثر من عمليّة في نفس اللحظة Multithreading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- هناك إمكانيّات جديدة رائعة للتعامل مع قواعد البيانات، تمنحها لك تقنية ADO.Net، بالإضافة للعديد من الأدوات المرئيّة التي تساعدك في إنشاء تطبيقات قواعد البيانات بأقلّ قدر من الكود.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- أمّا الجديد تماما، فهو قدرتك على تصميم صفحات الإنترنت بنفس الطريقة التي تصمّم بها النماذج العاديّة، مع كتابة كود VB بمعظم إمكانيّاته، لإنشاء تطبيقات ASP تعمل على الخوادم Servers بدون كتابة حرف واحد من لغة ASP!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
عيوب فيجوال بيسيك دوت نت&lt;br /&gt;
لا أستطيع أن أقول أن لفيجوال بيسيك دوت نت عيوب&lt;br /&gt;
سوى أننى أستطيع فقط أن أقول أن عليك ضريبة تدفعها حينما تستخدم برمجة الدوت نت عموما وفيجوال بيسيك خصوصا&lt;br /&gt;
ألا وهى ضرورة وجود اطار العمل.Net Framework على جهازك حتى يعمل البرنامج&lt;br /&gt;
ثانيا البطء النسبى للبرنامج وخصوصا عند فتحه لاول مرة فى مقابل البرنامج المصنوع بفيجوال بيسيك 6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول فى فيجوال بيسيك دوت نت&lt;br /&gt;
إذا قررت أن تتعلم الفيجوال بيسيك دوت نت فاعلم جيدا أنك تتعامل مع لغة برمجة قوية ومتميزة وفعالة ومرنة فى الكثير من المشاريع التى يمكن أن تحتاج اليها&lt;br /&gt;
مثل البرامج المكتبية والمشاريع الصغيرة والمتوسطة بل والكبيرة فى بعض الأحيان وبرامج متميزة وقوية جدا لإدارة قواعد البيانات وغيرها الكثير&lt;br /&gt;
ولكنها أيضا لها حدود يجب أن تقف عندها&lt;br /&gt;
فلا يمكنك أن تصمم بها نظام تشغيل&lt;br /&gt;
فأوامرها لا تتعامل مع الالة بشكل مباشر لذا فهى بطيئة نسبيا&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
نصيحة&lt;br /&gt;
إذا أردت أن تتعلم فيجوال بيسيك فعليك بالدوت نت&lt;br /&gt;
وإن كنت من مبرمجى فيجوال بيسيك 6 فعليك بالانتقال للدوت نت&lt;br /&gt;
فهى الأفضل والأصلح , هى تقنية المستقبل&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;*************&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;سي بلس بلس&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div align=&quot;center&quot;&gt;وهنا يجب أن نقف احتراما وتقديرا للسى بلس بلس&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
تقديم&lt;br /&gt;
لغة السي بلس بلس ++C من لغات البرمجة العالية المستوي وفي نفس الوقت قريبة من لغة التجميع ذات المستوي المحدود. وهي لغة ناشئة من لغة C الذي قام بتطويرها بيارن ستروستروب إلي ++C.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
تسهّل لغة ++C الأسلوب المهيكل والمنهجي لعملية تصميم البرامج،وتعتمد على الكائنات كبنية أساسية لتشكيل البرامج.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ومثلها مثل لغة السي، فان السي++ هى لغة متعدده الاستخدامات الا انها مناسبة لبرامج أنظمة التشغيل. وتكتب معظم أجزاء أنظمة التشغيل وبرامج مساعدة أنظمة التشغيل باستخدام السي++ ومنها نظام لينكس Linux / ويندوز&lt;br /&gt;
و يتجنب الكثير من المبرمجين لغة السي++ والسي نظرا لشهرتهما كلغات برمجة معقدة. وقد أدى ذلك إلى استخدام الكثيرين للغات مثل فيجوال بيسك ودلفي ثم جافا وسي شارب والأخيرتين هما مجرد تسهيل (و ليس تطوير) للغة السي++ وبدا في وقت معين أن لغات مثل الجافا سوف تستولى على سوق البرمجيات التجارية من السي++ مع هجرة عدد كبير من مبرمجى السي++ إلى جافا وسي شارب ، الا أنه سرعان ما أدرك المبرمجون أن السي++ هى السبيل الوحيد لانتاج برامج تجارية قوية وسريعة وتؤدى المطلوب منها بكفاءة وبأقل عدد من الأخطاء.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
الجديد في سي++&lt;br /&gt;
الاضافة الأهم التى أتت بها السي++ عن السي هى بالطبع اليرمجه عن طريق الكائنات. حيث تعتمد السي على البرمجة الاجرائية والتى كانت كافية في وقتها. الا أن بظهور أنظمة التشغيل ذات الواجهة الرسومية انتقل معظم المبرمجين إلى البرمجة بالكائنات . الا أن السي مازالت تستخدم في برمجة الويندوز.&lt;br /&gt;
و هذا بالاضافة إلى بضعة اضافات أخرى مثل :&lt;br /&gt;
- مكتبات جديدة لأداء مهام الادخال والاخراج تعتمد على الكائنات. &amp;amp; - كلمة inline التى تضمن الاجراء الفرعى في الأساسي بدلا من استدعائه.&lt;br /&gt;
- استخدام الاشاره // لتضمين الملاحظات بطول سطر واحد.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
سبب صعوبتها&lt;br /&gt;
ربما تعود أسباب صعوبة لغتى السي والسي++ لأسباب تاريخية أكثر منها واقعية وهو ما يردده المبرمجين المعتادين على استخدام السي++ وهذا يعود بنا إلى أصل لغة السي وهى لغة السي بى ال CPL والتى اشتهرت بشدة تعقيدها مما تسبب في ابتعاد المبرمجين عنها فتم تطويرها وتبسيطها إلى لغة سميت BCPL ولم تلقى الكثير من النجاح ولكنها تطورت إلى لغة البى B وعندما أرادو تطويرها سموها سي( وهذا هو أصل تسمية السي) ، وبالطبع ورثت السي++ خصائص لغة سي. الا أنه لا يمكن انكار أن مفاهيم مثل المؤشرات pointers ، والاشارات هى مفاهيم مربكة للمبرمج المبتدىء ، بالاضافة إلى مفاهيم التوارث Inheritance وتعدد الشكل polymorphism والقوالب Templates التى تربك حتى المبرمجين المحترفين. وكذلك لا تقدم سي++ الحماية الكافية للمبرمج كى لا يقع في أخطاء التشغيل التى قد تتسبب في توقف الحاسوب عن العمل. كيف؟&lt;br /&gt;
في لغة الفيجوال بيسك مثلا عندما تحدد مصفوفة بحجم 20 عنصرا مثلا كلأتى :&lt;br /&gt;
Dim A(20) As Integer&lt;br /&gt;
ثم تحاول معالجة العنصر رقم 21 مثلا فسوف يبادرك محرك الفيجوال بيسك برسالة خطأ ويتوقف برنامجك. أما في السي++ فاذا عرفت مصفوفة بنفس الحجم : int a[20] // integer a from 0-19 not from 0-20 و عندما تحاول الوصول إلى العنصر رقم عشرين مثلا تكون قد تعديت حدود المصفوفة إلى جزء من الذاكرة ربما تكون مخصصة لبرنامج أخر أو معلومات حساسة لنظام التشغيل. و المشكلة الأخرى التى تربك الكثيرين أن أول عنصر بالمصفوفة هو 0 وليس 1 وحجمها 20 أى أن العنصر الأخير هو 19 وليس 20 مثل البيسك.&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;******************&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;فيجوال سى ++ دوت نت&lt;br /&gt;
Visual C++ .Net&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;هى إحدى لغات مجموعة الدوت نت , فلا يوجد اختلاف فى اللغة ولكنك هنا تعمل تحت بيثة الدوت نت بكل ما فيها من قوة ومميزات واضافات يمنحها لك اطار العمل DotNet Framework&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
عيوب السى ++&lt;br /&gt;
عيوب السى ++ تكمن فى صعوبتها وتعقيدها&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول فى لغة السى ++&lt;br /&gt;
لغة السى ++ أحد أقوى لغات البرمجة عالية المستوى بالاضافة أن أوامرها تتعامل مع الالة بشكل مباشر كلغة التجميع&lt;br /&gt;
&lt;br /&gt;
وهذا ما يجعل برامجها فائقة السرعة بالمقارنة بباقى اللغات عالية المستوى&lt;br /&gt;
وهذا أيضا ما يجعلها الاختيار الأمثل لتصميم نظم التشغيل&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
نصيحة&lt;br /&gt;
إذا أردت أن تصبح مبرمجا حقا بمعنى الكلمة عليك بإتقان السى ++&lt;br /&gt;
فهي لغة تستطيع أن تفعل بها كل شيء&lt;br /&gt;
البرامج التطبيقية الضخمة , برامج الجرافيك والملتيميديا, نظم التشغيل&lt;br /&gt;
ولكن اعلم جيدا أنك ستشق طريق صعب مليء بالأشواك , يحتاج منك الى عزيمة وصبر ومشقة ووقت طويل&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;[/b]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
*********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[/color][/size]&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;فيجوال سى شارب دوت نت&lt;br /&gt;
Visual C# .Net&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;div align=&quot;center&quot;&gt;سي شارب (C#) أحد لغات بيئة الدوت نت لتطوير البرامج من أنتاج شركة ميكروسوفت يرمز اليها بالرمز c# وتنطق &quot;سي شارب&quot;، وهي إحدى اللغات التي انتجتها شركة مايكروسوفت وذلك خروجا من ورطة الجافا والقضية الشهيرة التي رفعتها عليها شركة صن ، تم الاعلان عنها في اواسط العام 2000 تزامنا مع الاعلان عن بيئة الدوت نت. تتميز سي شارب بأنها أحد لغات البرمجة الكائنية وتجمع صفات بالسي والبيزك المرئي حيث انها تستخدم القواعد الخاصه السي وسرعة التطوير كما في البيزك المرئي , لغة السي شارب موجهه إلى مبرمجي الفيجول سي ومبرمجي السي على انها امتداد لهذه اللغات&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
مميزات السى شارب&lt;br /&gt;
استفادت لغة السي شارب إلى حد كبير من جهود مطوري الجافا وتشاركها في كل مزاياها ومبادئ التصميم وتفوقها في بعض الاجزاء . لغة السي شارب كباقي لغات الدوت نت والجافا تنتج برامج لاتعتمد على بيئه معينه مثل برامج موجهه للينكس Linux او ويندوز او موبيل . هي لغة كائنية بالمعني الحقيقي للكلمة حيث كل شيء في تركيب اللغة هو عبارة عن كائن تم تعريفة مسبقا ، لذلك لا تسمح هذة اللغة بالكتابة الحرة اي ان ابسط التراكيب البرمجية يجيب ان تكون داخل احدي الكائنات. منذ الوهلة الاولي لظهور السي شارب كان من الواضح انها اتت لتعزز موقف شركة مايكروسوفت فيمنتجها الدوت نت&lt;br /&gt;
وذلك لانها افضل لغة تتعامل مع الدوت نت و تستفيد من قدراتها كاملة. و قد أصدر في أواخر العام 2005 الإصدار الثاني من اللغة C#2 .. تتنوع التطبيقات التي يمكن انتاجها بلغة السي شارب للعمل علي منصات متتعدة , ثم تلاه فى أخواخر عام 2007 للإصدار الثالث فى فيجوال ستوديو 2008&lt;br /&gt;
عيوب السى شارب&lt;br /&gt;
لا أستطيع أن أقول أن للسى شارب عيوب , حيث أنها تجمع بين قوة لغى السى ++ وسهولة الفيجوال بيسيك , فهى تعتبر لغة متكاملة ولكنها لها حدود أيضا تقف عندها فأوامرها لا تتعامل مع الالة بشكل مباشر لذا فلا يمكنك أن تصنع بها نظام تشغيل&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
مجالات استخدام السى شارب&lt;br /&gt;
* تطبيقات منصة التشغيل ويندوز&lt;br /&gt;
* تطبيقات الانترنت (الويب والواب) ذلك باستخدام منصة ال ASP.NET&lt;br /&gt;
* تطبيقات الموبايل وتعتمد علي منصة التشغيل وينوز سي اي WINDOWS CE&lt;br /&gt;
* تطبيقات العمل علي لينوكس وذلك بالاعتماد علي مكتبيات تمت كتابتها خصيصا لمنصة التشغيل لينوكس وذلك من خلال مشروع مونو (مستقل عن ميكروسوفت)&lt;br /&gt;
ونظرا لتنوع امكانيةعمل تطبيقات باستخدام السي شارب فانة يمكن عمل تطبيقات قوية مثل&lt;br /&gt;
* تطبيقات تعامل مع قواعد البيانات باستخدام مكتبة ADO.NET&lt;br /&gt;
&lt;br /&gt;
* تطبيقات الجرافيكس والوسائط المتعددة&lt;br /&gt;
* تطبيقات ادارة المحتوي&lt;br /&gt;
* الالعاب Games والترفية&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول فى سى شارب دوت نت&lt;br /&gt;
لغة السى شارب لغة قوية ومتميزة فى الكثير من المجالات ويتم تطويرها بشكل مستمر , وتعتبر ضمن عائلة لغات السى , ولكنها تتميز عن السى بأنها أسهل فى التعلم كالفيجوال بيسيك&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;**************&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;لغة الجافا&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;الجافا (الإنجليزية: Java) هي لغة برمجة كائنية التوجه طورها أساساً جيمس جوسلينج وجامعيون في شركة صن ميكروسيستيمز.&lt;br /&gt;
الهدف الأساسي لنشأة جافا هو إيجاد لغة مشابهة للغة سي من حيث التركيب النحوي ، كائنية التوجه، و مصممة للعمل علي اّلة إفتراضية بحيث لا تحتاج إلي الترجمة من جديد عند إستخدام برامجها على منصة تشغيل أو نظام تشغيل جديد، حيث قامت شركة صن بإنشاء الاّت افتراضية لتشغيل جافا على معظم منصات و نظم التشغيل الموجودة حاليا، فاصبح من الممكن ترجمة البرنامج مرة واحدة ثم تشغيله على نظم مختلفة أو ما أسمته صن ب إكتب مرة واحدة ، شغل في أى مكان (الإنجليزية: Write Once, run anywhere).&lt;br /&gt;
تم فتح المصدر لهذه اللغة مؤخرا واصبحت Open Source Code.&lt;br /&gt;
سميت لغة الجافا من قهوة الجافا (الجاوة) التي تزرع في جزيرة جاوا، قد تطورت من مشروع كان يسمى أوك (بلوط) (من شجر البلوط الذي كان موجودً خارج نافذة جوسلينج).&lt;br /&gt;
ملاحظة: يجب عدم الخلط بين الجافا والجافا سكريبت فرغم تشابة اللغتين في السياق والتراكيب الا أنهما لغتان مختلفتان ولهما أهداف مختلفة.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
الاهداف الاساسية من انشاء جافا هي:-&lt;br /&gt;
كائنية التوجه&lt;br /&gt;
الاستقلال عن نظام التشغيل&lt;br /&gt;
توفر امكانيات و مكتبات للتشبيك&lt;br /&gt;
امكانية تنفيذ البرامج من حواسيب بعيدة بشكل آمن&lt;br /&gt;
توفير إمكانية إضافة برامج إلى صفحات الويب&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
مميزات لغة الجافا&lt;br /&gt;
* لغة الجافا خالية من عيوب السي++ ((خصوصاً في التعامل مع الذاكرة))&lt;br /&gt;
* الجافا تعمل في كل أنظمة التشغيل وهي independence language .&lt;br /&gt;
* الجافا تستخدم مترجم ومفسر يعني ليس مترجم فقط مثل السي&lt;br /&gt;
* الجافا سريعة جداً باستخدام معالجة للمترجمات ولكن دون هذه المعالجة السي++ أسرع بكثير لأن الجافا تحول الكود الي بايت كود.&lt;br /&gt;
* الجافا لغة oop خالصة وطبعاً عارفين الفرق بين البرمجة الموجهة والهيكلية .&lt;br /&gt;
* الجافا حديثة من سنة 95 لكن أصبح لها انتشار كبير&lt;br /&gt;
*الجافا لغة سهلة وبسيطة وقوية في نفس الوقت.&lt;br /&gt;
* الجافا تعمل في كل المجالات networking &amp;amp; application$graphic &amp;amp;gaming&lt;br /&gt;
معلومة أخيرة الجافا أقوى لغة برمجة للموبايلات والأجهزة التفاعلية معظم الألعاب والبرامج, برامج التصوير والفيديو في الجوالات مبرمجة بالجافا&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول فى لغة الجافا&lt;br /&gt;
نقلا عن بعض المقالات والكتب العربية&lt;br /&gt;
هل الجافا صعبة؟&lt;br /&gt;
هذا سؤال في الحقيقة أيضا يعتمد عليك فأصعب مافي الجافا بدايتها فقط، فأذا تجاوزت البداية و أحببت اللغة فالمتبقي من اللغة سهل باذن الله&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
هل اتعلم الجافا ام .NET؟&lt;br /&gt;
&lt;br /&gt;
إجابة هذا السؤال تعتمد عليك أنت فإذا كنت تحب البرمجة و تعشق التحدي و المغامرة و الجافا تناسب إحتياجك فعليك بها (لاتريد أن تعتمد على platform معين). إما إذا كنت خلاف ذلك فمن رأيي أن تتوجة الى الدوت نت فهي توفر لك كامل الدعم و هي بكل تاكيد أسهل من الجافا لأنني كما ذكرت هناك الكثير من الكتب و الكثير من الدعم و يكفي أنها من انتاج شركة Microsoft.&lt;br /&gt;
و عموماً الخلاصة ماذا تريده أنت من اللغة هو الذي يحدد إختيارك لها!&lt;br /&gt;
&lt;br /&gt;
ما هي الصعوبات الي تواجة مطوري الجافا في العالم العربي؟&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- الحصول على الكتب في منتهى الصعوبة.&lt;br /&gt;
2- مشاريع كبيرة تمت كتابتها بتقنيات ميكروسوفت، حصلوا على دعم كبير بحيث ان الشركة توفر لهم الكتب المطلوبة و النصائح من المختصين لدى الشركة و هذا لم تحصل علية المشاريع التي كتبت بالجافا.&lt;br /&gt;
3- عدم انتشار اللغة بصورة كبيرة&lt;br /&gt;
4-قلة شركات استضافة الجافا (العربية).&lt;br /&gt;
ولكن هذا لا يعني أن الجافا لغة ليست جيدة بل هي منتشرة جداً جداً في الدول الغربية و لكن هي قليلة الانتشار في الوطن العربي.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;********************&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;لغة دلفى&lt;br /&gt;
Delphi&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;دلفي لغة برمجة من انتاج شركة بورلاند هذه اللغة مبنية على لغة باسكال الكائنية حيث تعتبر لغة دلفي تطوير للغة باسكال القديمة، دلفي لغة شائعة ومنتشرة حاليا، تعتبر دلفي لغة مرئية وهي من اللغات العالية الإنتاجية. وتعتبرمن اللغات القوية والسهلة معا.&lt;br /&gt;
يقال أنها تجمع بين سهولة لغة فيجوال بيسك وقوة لغة سي++, تم انشاء هذه اللغه في سنة 1995 وقد سميت دلفي رجوعا إلى كلمة اغريقية قديمة تعني عرافة.&lt;br /&gt;
هناك نسختان من هذه اللغة، النسخه الاولى خاصة بنظام التشغيل ويندوز و هي دلفي و الثانية خاصة بنظام التشغيل لينكس Linux و تحمل الاسم كايليكس وقد تم إصدار دلفي للعمل تحت منصة دوت نت بالنسختين دلفي8.نت&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
مميزات لغة البرمجة دلفى&lt;br /&gt;
* لا تحتاج الي اي ملفات او مكتبات عن تحويل البرنامج الي ملف تنفيذي&lt;br /&gt;
قهى لا تحتاج لأي مكتبات ربط ديناميكي DLL كـ Visual Basic لكي يعمل البرنامج بسلامة، حتى الأدوات التي نحصل عليها من هنا وهناك سواءً من الإنترنت أو من شيءٍ آخر لا نضطر أن ننصبها كأدوات ActiveX فيوجد في Delphi أدوات تسمّى Visual Component Library اختصار: VCL، أدوات تترجم مع التطبيق والأعجب أنها لن تزيد من حجم التطبيق&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* دلفي مثلها مثل فيجوال سي++ و جافا لغة برمجة كائنية Object Oriendet Programmint OOP&lt;br /&gt;
* دلفي يأتي معها العشرات بل المئات من Components والتي لا تجعلك تحتاج اي شي وبإستطاعتك ان تطور او تضيف خصائص غير موجودة عليها حيث ان الكود المصدري موجود مع نسخة دلفي Enterprise&lt;br /&gt;
* تعتبر دلفي اسرع أداة تطوير برامج تحت بيئة الويندوز&lt;br /&gt;
* إمكانية بناء مكتبات ActiveX COM . DLL&lt;br /&gt;
&lt;br /&gt;
* إمكانية بناء ActiveX Controls وبإستطاعك بعد ذلك استخدامها في اي لغة برمجة&lt;br /&gt;
* بإمكانك من خلال Delphi بناء واجهات معقّدة في وقت قياسى وذلك من خلال الثروة الهئلة من الأدوات التى توفرها لك بيئة الدلفى&lt;br /&gt;
* الدعم الكامل للواجهات وهو ما يسمّى بـ: Full Support for Interfaces&lt;br /&gt;
* دلفي لغة مكتوبة بنفسها! إذ أنها هي التي تطوّر نفسها بنفسها، الإصدار الأول يطور الثاني الثاني يطوّر الثالث، الثالث يطوّر الرابع، الرابع يطوّر الخامس&lt;br /&gt;
* يمكنك تشغيل برنامج دلفى على أي نظام تشغيل كان سواء Windows أو Linux بدون أي مشكلة لأن دوالها داخلية&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
خلاصة القول فى دلفى&lt;br /&gt;
دلفى لغة برمجة قوية جدا وممتازة وتتطور بشكل كبير وسريع&lt;br /&gt;
بإمكانك أن تصمم بدلفى كافة أنواع التطبيقات والألعاب&lt;br /&gt;
لمن يريد تعلم لغة دلفى , ستجد العديد من الاسطوانات التعليمية والكتب العربية والأجنبية ستفيدك كثيرا فى تعلم الدلفى&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
أما بالنسبة للغة نفسها&lt;br /&gt;
هناك منتج شركة بورلاند&lt;br /&gt;
Borland Delphi 7&lt;br /&gt;
وهناك تحفة شركة CodeGear والتى تشبه الى حد كبير بيئة الفيجوال ستوديو دوت نت , بل وتتفوق عليها فى خفتها وسرعتها الفائقة فى العمل بالمقارنة بالبطىء الشديد الموجود فى بيئة الفيجوال ستوديو&lt;br /&gt;
CodeGear Delphi , C++ Builder 2009&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;*******&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;أول لغة برمجة عربية متكاملة&lt;br /&gt;
ج&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;br /&gt;
لغة ج هى لغة برمجة رفيعة المستوى High Level Programming Language تستخدم اللغة العربية قلباً وقالباً. ولعلها أول لغة برمجة عربية متكاملة تحتوي على كل خصائص لغات البرمجة الأجنبية رفيعة المستوى مثل C و Pascal . لقد أصبح بإمكانك الآن كتابة البرامج للحاسوب الشخصي باللغة العربية.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ما هى لغة ج ؟&lt;br /&gt;
على لسان مطور اللغة الدكتورمحمد عمار السَلكة&lt;br /&gt;
&lt;br /&gt;
طلب مني أحد الأصدقاء ذات يوم أن أبدي رأيي في منهاج كان قد أعده لتدريس علوم الحاسوب للأطفال وطلاب المدارس في إحدى المعاهد. وكان من جملة أهداف هذا المنهاج تعليم طلاب المراحل الدراسية المبكرة برمجة الحاسوب من خلال لغات برمجة بسيطة مثل LOGO و BASIC. وقد لفت نظري أن هذه اللغات على بساطتها لا تناسب الطلاب العرب الصغار لاعتمادها على اللغة الإنكليزية. وكما هو معروف، تعتمد غالبية لغات البرمجة رفيعة المستوى High Level Languages على اللغة الإنكليزية، وتستخدم الأحرف اللاتينية قلباً وقالباً، مما يجعلها بعيدة المنال عن الطلاب العرب، خاصة أولئك الذين مازالوا في المراحل التعليمية المبكرة، ولم يتقنوا اللغات الأجنبية اتقاناً كافياً.&lt;br /&gt;
فتولد عندي دافع قوي للعمل على تطوير لغة برمجة عربية تكون سهلة وميسرة، ولا تقل مع ذلك في قدراتها عن لغات البرمجة رفيعة المستوى المعروفة مثل C و PASCAL. لتكون وسيلة مناسبة لتعليم الطلاب العرب مبادئ البرمجة بلغتهم الأم. وأن تكون هذه اللغة من روح مناهجهم، ومن صميم المفردات التي ألفوها في حياتهم الدراسية. وتشكلت لدي قناعة بأن إدخال الحاسوب إلى المناهج التعليمية في العالم العربي يجب أن ينطلق من تعليم الطلاب برمجة الحاسوب بواسطة لغة برمجة تمكنهم من السيطرة على مفاهيم البرمجة الأساسية بلغتهم الأم، وتتوافق وتنسجم مع مناهجهم الأخرى في الرياضيات والعلوم واللغة العربية.&lt;br /&gt;
وشرعت في العمل على تطوير هذه اللغة، وتوصلت إلى لغة برمجة عالية المستوى مشتقة من اللغة العربية، تكتب بحروفها وأرقامها، وتستخدم مفرداتها، وتلتزم بقواعدها. وتتمتع بالبساطة والوضوح. ويمكن بواسطتها برمجة كل ما يحتاجه الطالب من برامج وخوارزميات تفيده في دراسته. وقد رأيت أن أطلق على هذه اللغة اسم ج لشبهها في جوانب عديدة بلغة البرمجة المعروفة C. كما قمت بتطوير برنامج يتيح كتابة، وتنقيح، وتنفيذ البرامج بلغة ج، وأطلقت على هذا البرنامج اسم الخوارزمي تقديراً للعالم الشهير محمد بن موسى الخوارزمي.&lt;br /&gt;
&lt;br /&gt;
وقد شاء الله أن أنشغل عن اتمام اللمسات الأخيرة لهذا البرنامج فترة من الزمن، وأن يبقى هو ولغة ج حبيساً في أحد الدروج، إلى أن قلت أعبائي مؤخراً وأكملت ما بدأته منذ أكثر من 7 سنوات.&lt;br /&gt;
وإني إذ أضع هذا العمل المتواضع بين أيدي الطلاب والمدرسين العرب في كل مكان لأرجو أًن تتحقق منه الفائدة والمتعة، وأن يكون وسيلة لتعليم برمجة الحاسوب في المدارس والمعاهد بدلاً من لغات البرمجة الأجنبية.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
تحميل برنامج الخوارزمى للغة ج&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
تحميل كتاب تعريف اللغة&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
الموقع الرسمى للغة ج&lt;br /&gt;
&lt;a href=&quot;http://www.jeemlang.com/index.php&quot; style=&quot;color: #0181b1; font-family: Arial; font-size: 12pt; font-weight: bold; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://www.jeemlang.com/index.php&lt;/span&gt;&lt;/u&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;************&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;لغة التجميع&lt;br /&gt;
Assembly language&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;هي الصيغة السهلة القراءة للبشر المقابلة للغة الآلة التي تشكل الأوامر التي ينفذها حاسوب بتصميم ما. فلغة الآلة عبارة عن تتابع من البتات (bits) تمثل عملية حاسوبية أو امر للحاسوب، تصبح أسهل للقراءة عندما تستبدل برموز تعبر عنها. و لكل معالج لغة أسمبلي خاصة به كما أن له &quot;لغة آلة Machine Language&quot; خاصة به. و تحتاج لغة الاسمبلي ما يسمى الاسمبلر (Assembler) او المجمع و هو الذي يقوم بتحويل لغة الاسمبلي التي يستطيع البشر قراءتها و التعديل فيها إلى لغة الالة التي يستطيع المعالج تنفيذها. و تستخدم هذه اللغة الان من قبل البشر و ذلك لبرمجة اجزاء من نظم التشغيل او للتاكد من سرعة و كفاءة تنفيذ بعض البرامج التي يحتاج فيها الكفاءة كبرامج المحاكاة و الالعاب Games&lt;br /&gt;
&lt;br /&gt;
فمعالج أي حاسب لا يفهم أية لغة، لا الباسكال ولا السي ولا الجافا، ولا حتى التجميع في حد ذاته، إنما يفهم شيئا واحدا، هو لغة الآلة&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
هى لغة معقدة جدا ومن أهم استخداماتها برمجة نظم التشغيل وبرمجة الفيروسات وقرصنة البرامج&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;*************&lt;br /&gt;
&lt;/span&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;بعد استعراض أهم وأشهر لغات البرمجة&lt;br /&gt;
بإمكانك الآن أن تختار اللغة التى سوف تتعلمها بناء على الهدف الذى تريد تحقيقه بها&lt;br /&gt;
ومن الأساليب الصحيحة التى يجب أن تبدأ بها فى تعلم أى لغة برمجة , هى الكتب المتخصصة سواء الكتب العربية أو الكتب الأجنبية , والتى يقوم بإعدادها خبراء فى هذة اللغات&lt;br /&gt;
&lt;br /&gt;
بعدها يمكنك اللجوء الى الاسطوانات التعليمية والبرامج مفتوحة المصدر&lt;br /&gt;
وعندما تنوى أن تصنع برنامجك الأول , لا تعمل بشكل عشوائى , بل ضع أمامك هدفا واسعى لتحقيقه , ولا تتسرع , مهما طال الوقت&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/343538669341501344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/blog-post.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/343538669341501344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/343538669341501344'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/04/blog-post.html' title='بأول نصيحة لراغبى تعلم البرمجة فبل أن يبدأ مشواره'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-4453506096197622950</id><published>2011-02-16T06:23:00.000-08:00</published><updated>2011-02-16T06:27:44.099-08:00</updated><title type='text'>Random Without Repeating</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;الى كل الاصدقاء &lt;br /&gt;
فى كثير من الاحيان تحتاج ان نلجأ الى الداله random &lt;br /&gt;
لجعل البرنامج&amp;nbsp; مزيد من الدينامكيه ولا كن تواجها مشكله هى احتمال التكرار بين القيمه الصغرى والقيمه الكبيرى فلذلك قمت بعمل داله لتثقوم بنفس العمل مع امكانيه عدم التكرار للارقام الداله على هيئه method in C #&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
l:&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; [] test(&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; number)&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Random&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; array = &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Random&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;();&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[] z = &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[number];&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[] h = &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[number];&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; res;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; i = 0; i &amp;lt; number; i++)&lt;/span&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// 3ashan maykrrarsh el pics&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;res = array.Next(0, number );&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
h[res] = 1;&lt;br /&gt;
z[i] = res;&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (h[res] == 0)&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;goto&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; l;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/4453506096197622950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/random-without-repeating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4453506096197622950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4453506096197622950'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/random-without-repeating.html' title='Random Without Repeating'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-4597648417255717191</id><published>2011-02-16T05:37:00.000-08:00</published><updated>2011-02-16T05:40:41.210-08:00</updated><title type='text'>Transfer Data From Dataset to Excel sheets</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;Dear All &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;How are you And I hope All of you Are very Fine And Happy &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;in My small project I found task that &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&quot;Transfer Data From Dataset to Excel sheets &quot;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;that&#39;s Mean Each table to Sheet &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;I write it as method in C# &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;public&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;static&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; ExportToExcel(&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;DataSet&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; dataSet, &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;string&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;outputPath)&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;{&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Create the Excel Application object&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ApplicationClass excelApp = &lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;new&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;ApplicationClass();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Create a new Excel Workbook&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Workbook excelWorkbook = excelApp.Workbooks.Add(&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing);&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;sheetIndex = 0;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Copy each DataTable as a new Sheet&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;foreach&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (System.Data.&lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;DataTable&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; dt &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;in&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;dataSet.Tables)&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Create a new Sheet&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Worksheet excelSheet = (Worksheet) excelWorkbook.Sheets.Add(&lt;br /&gt;
excelWorkbook.Sheets.get_Item(++sheetIndex),&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, 1, XlSheetType.xlWorksheet);&lt;/span&gt;&lt;br /&gt;
excelSheet.Name = dt.TableName;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Copy the column names (cell-by-cell)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;col = 0; col &amp;lt; dt.Columns.Count; col++) {&lt;/span&gt;&lt;br /&gt;
excelSheet.Cells[1, col + 1] = dt.Columns[col].ColumnName;&lt;br /&gt;
}&lt;br /&gt;
((Range) excelSheet.Rows[1, &lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing]).Font.Bold = &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;true&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Copy the values (cell-by-cell)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;col = 0; col &amp;lt; dt.Columns.Count; col++)&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;int&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;row = 0; row &amp;lt; dt.Rows.Count; row++)&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
excelSheet.Cells[row + 2, col + 1] = dt.Rows[row].ItemArray[col];&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Save and Close the Workbook&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;excelWorkbook.SaveAs(outputPath, XlFileFormat.xlWorkbookNormal, &lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, XlSaveAsAccessMode.xlExclusive,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing);&lt;/span&gt;&lt;br /&gt;
excelWorkbook.Close(&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing, &lt;/span&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;Type&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Missing);&lt;/span&gt;&lt;br /&gt;
excelWorkbook = &lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;null&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Release the Application object&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;excelApp.Quit();&lt;br /&gt;
excelApp = &lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;null&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: green; font-size: x-small;&quot;&gt;// Collect the unreferenced objects&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;GC&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.Collect();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #2b91af; font-size: x-small;&quot;&gt;GC&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-size: x-small;&quot;&gt;.WaitForPendingFinalizers();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
}&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/4597648417255717191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/transfer-data-from-dataset-to-excel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4597648417255717191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/4597648417255717191'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/transfer-data-from-dataset-to-excel.html' title='Transfer Data From Dataset to Excel sheets'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6211227605031694363.post-3830766543312030747</id><published>2011-02-15T23:12:00.000-08:00</published><updated>2011-02-15T23:12:08.262-08:00</updated><title type='text'>.NET Framework 4.0 Command Line Tools You Must Know</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: right;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;float: right; margin-left: 10px;&quot;&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;script type=&quot;text/javascript&quot;&gt;
tweetmeme_url = &#39;http://www.devcurry.com/2011/02/important-net-framework-40-command-line.html&#39;;
&lt;/script&gt;&lt;script src=&quot;http://tweetmeme.com/i/scripts/button.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/td&gt;&lt;td&gt;&lt;script type=&quot;text/javascript&quot;&gt;
        var dzone_url = &#39;http://www.devcurry.com/2011/02/important-net-framework-40-command-line.html&#39;;
    
&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;
        var dzone_title = &#39;Important .NET Framework 4.0 Command Line Tools You Must Know&#39;;
    
&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;
        var dzone_style = &#39;1&#39;;
    
&lt;/script&gt;&lt;script language=&quot;javascript&quot; src=&quot;http://widgets.dzone.com/widgets/zoneit.js&quot;&gt;
&lt;/script&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; dir=&quot;ltr&quot;&gt;The .NET Framework 4.0 contains a plethora of command line tools ranging from build, deployment, debugging, security to Interop tools, and so on. Here’s a list of important command line tools in the .NET Framework 4.0 which can be run using the Visual Studio Command Prompt. The description of these tools has been taken from the MSDN documentation.&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;strong&gt;Assembly, Build, Deployment and Configuration Tools&lt;/strong&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 570px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/c405shex.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Al.exe (Assembly Linker)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Assembly Linker generates a file that has an assembly manifest from one or more files that are either modules or resource files. &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/6ds95cz0.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;csc.exe&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/w95cx9k1.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;vbc.exe&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;You can invoke the C# or VB.NET compiler by typing the name of its executable file on the command line. Check MsBuild listed below to programmatically build programs. &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ex0ss12c.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Gacutil.exe (Global Assembly Cache Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/496e4ekx.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Ilasm.exe (MSIL Assembler)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The MSIL Assembler generates a portable executable (PE) file from Microsoft intermediate language (MSIL)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/f7dy01k1.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Ildasm.exe (MSIL Disassembler)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The MSIL Disassembler is a companion tool to the MSIL Assembler (Ilasm.exe). Ildasm.exe takes a portable executable (PE) file that contains Microsoft intermediate language (MSIL) code and creates a text file suitable as input to Ilasm.exe.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/50614e95.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Installutil.exe (Installer Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Installer tool is a command-line utility that allows you to install and uninstall server resources by executing the installer components in specified assemblies&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/acz3y3te.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Mage.exe (Manifest Generation and Editing Tool)&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/xhctdw55.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;MageUI.exe&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Manifest Generation and Editing Tool (Mage.exe) is a command-line tool that supports the creation and editing of application and deployment manifests.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms164311.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;MsBuild.exe&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;MSBuild.exe builds the specified project or solution file&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/6t9t5wcf.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Ngen.exe (Native Image Generator)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications. Ngen.exe creates native images, which are files containing compiled processor-specific machine code, and installs them into the native image cache on the local computer&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/tzat5yw6.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Regasm.exe (Assembly Registration Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/04za0hca.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Regsvcs.exe (.NET Services Installation Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The .NET Services Installation tool loads and registers an assembly, generates, registers, and installs a type library into a specified COM+ application and configures services that you have added programmatically to your class.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ccec7sz1.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Resgen.exe (Resource File Generator)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Resource File Generator converts text (.txt or .restext) files and XML-based resource format (.resx) files to common language runtime binary (.resources) files that can be embedded in a runtime binary executable or compiled into satellite assemblies.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ezabwsbk.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Storeadm.exe (Isolated Storage Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Isolated Storage tool lists or removes all existing stores for the current user.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;strong&gt;Security Tools&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 570px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/cb6t8dtz.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Caspol.exe (Code Access Security Policy Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Code Access Security (CAS) Policy tool (Caspol.exe) enables users and administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/e78byta0.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Certmgr.exe (Certificate Manager Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;Manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs).&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bfsktky3.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Makecert.exe (Certificate Creation Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Certificate Creation tool generates X.509 certificates for testing purposes only. It creates a public and private key pair for digital signatures and stores it in a certificate file&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/62bwd2yd.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Peverify.exe (PEVerify Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;Helps you verify whether your Microsoft intermediate language (MSIL) code and associated metadata meet type safety requirements.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/8s9b9yaz.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;SignTool.exe (Sign Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;Sign Tool is a command-line tool that digitally signs files, verifies signatures in files, and time-stamps files.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/k5b5tt23.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Sn.exe (Strong Name Tool)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Strong Name tool (Sn.exe) helps sign assemblies with strong names. Sn.exe provides options for key management, signature generation, and signature verification.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;strong&gt;Debugging Tools&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 570px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/e74a18c4.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Fuslogvw.exe (Assembly Binding Log Viewer)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;Displays information about assembly binds to help you diagnose why the .NET Framework cannot locate an assembly at run time.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms229861.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;MDbg.exe (.NET Framework Command-Line Debugger)&lt;/span&gt;&lt;/a&gt; and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb190764.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Sos.dll&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The NET Framework Command-Line Debugger helps tools vendors and application developers find and fix bugs in programs that target the .NET Framework common language runtime.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;strong&gt;Interop Tools&lt;/strong&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 570px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hfzzah2c.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Tlbexp.exe (Type Library Exporter)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Type Library Exporter generates a type library that describes the types defined in a common language runtime assembly.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/tt0cf3sx.aspx&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #1e608e;&quot;&gt;Tlbimp.exe (Type Library Importer)&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;285&quot;&gt;The Type Library Importer converts the type definitions found within a COM type library into equivalent definitions in a common language runtime assembly&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: right;&quot;&gt;﻿&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eslamghanem.blogspot.com/feeds/3830766543312030747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/net-framework-40-command-line-tools-you.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/3830766543312030747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6211227605031694363/posts/default/3830766543312030747'/><link rel='alternate' type='text/html' href='http://eslamghanem.blogspot.com/2011/02/net-framework-40-command-line-tools-you.html' title='.NET Framework 4.0 Command Line Tools You Must Know'/><author><name>Eslam Ghanem</name><uri>http://www.blogger.com/profile/05567719094446546113</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='21' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiERtddXQfbc1bgMXaHoIVLQg8YmmFp7Mv6daZeytMOsAG52bYwxW8lFecgRrCp4kR1AyLIsP-R_nHg97MjGmX7fzusozer08B1Ozcu1vH5r63FJVp4r0HXL7eA9g1qGQ/s220/Eslam.jpg'/></author><thr:total>1</thr:total></entry></feed>