<?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-6551698601232362500</id><updated>2024-11-01T03:35:26.100-07:00</updated><category term="Travel In Nepal"/><category term="All In One Search"/><title type='text'>Software Development and Travel Information</title><subtitle type='html'>Software Development &amp;amp; Traveling information News Updates..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-1470624317492485254</id><published>2013-04-19T03:48:00.001-07:00</published><updated>2013-04-19T03:49:13.747-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Travel In Nepal"/><title type='text'>Dolakha Kalinchowk Trek</title><content type='html'>&lt;h1&gt;
            Dolakha Kalinchowk Trek&lt;/h1&gt;
Kalinchowk, residing at a 
height of above 3,700m is accessible from a drive from Kathmandu to 
Charikot and further 6-7 hours continuous trekking upward the hill. This
 is considered to be one of the non touristic trekking regions in 
eastern Nepal. The view of Ganesh Himal, Shisha Pangma, langtang, Dorje 
Lakpa, Jugal Himal, Gauri Shankar etc. are clearly visible in fine 
weather condition through this route. Tremendous beauty from the high 
hill of Kalinchowk takes your breath once giving means to visit of this 
region. Dolakha Kalinchowk trek is unique product for cultural study and
 exploring natural beauties. It has various wonder of biodiversities and
 culture. Varieties of culture, unexplored inner site of local lifestyle
 and religious sites, daily activities are the main attraction of this 
area. So far it is completely stand as non touristy area. To trek in 
this area will directly or indirectly contribute for the local as little
 income&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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/AVvXsEhiWuGKatobLyQGVjpNzLvQjuioaCckiE2CB5mgVPH5_Kr_aevtPHayrFUcUqqtMCtQ1fhO72wAi734CK7DY0dr9wE7Qs-6Ln5mtuhRzUXcr8wHHOFO409eurEA9fsGF5_eJvnwcm93FZ-I/s1600/2013-03-10+06.56.36.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiWuGKatobLyQGVjpNzLvQjuioaCckiE2CB5mgVPH5_Kr_aevtPHayrFUcUqqtMCtQ1fhO72wAi734CK7DY0dr9wE7Qs-6Ln5mtuhRzUXcr8wHHOFO409eurEA9fsGF5_eJvnwcm93FZ-I/s320/2013-03-10+06.56.36.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/1470624317492485254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/1470624317492485254' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1470624317492485254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1470624317492485254'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2013/04/dolakha-kalinchowk-trek.html' title='Dolakha Kalinchowk Trek'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiWuGKatobLyQGVjpNzLvQjuioaCckiE2CB5mgVPH5_Kr_aevtPHayrFUcUqqtMCtQ1fhO72wAi734CK7DY0dr9wE7Qs-6Ln5mtuhRzUXcr8wHHOFO409eurEA9fsGF5_eJvnwcm93FZ-I/s72-c/2013-03-10+06.56.36.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-8592759000117505890</id><published>2013-04-19T03:39:00.003-07:00</published><updated>2013-04-19T03:50:49.910-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Travel In Nepal"/><title type='text'>Travel In Sindhuli Ghadi In Nepal</title><content type='html'>&lt;b&gt;Sindhuli District&lt;/b&gt;(&lt;a href=&quot;http://en.wikipedia.org/wiki/Nepali_language&quot; title=&quot;Nepali language&quot;&gt;Nepali&lt;/a&gt;: &lt;span lang=&quot;ne&quot;&gt;&lt;a class=&quot;extiw&quot; href=&quot;http://ne.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BF%E0%A4%A8%E0%A5%8D%E0%A4%A7%E0%A5%81%E0%A4%B2%E0%A5%80_%E0%A4%9C%E0%A4%BF%E0%A4%B2%E0%A5%8D%E0%A4%B2%E0%A4%BE&quot; title=&quot;ne:सिन्धुली जिल्ला&quot;&gt;सिन्धुली जिल्ला&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;unicode&quot;&gt;&lt;/span&gt; a part of &lt;a href=&quot;http://en.wikipedia.org/wiki/Janakpur_Zone&quot; title=&quot;Janakpur Zone&quot;&gt;Janakpur Zone&lt;/a&gt;, is one of the seventy-five &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Districts_of_Nepal&quot; title=&quot;Districts of Nepal&quot;&gt;districts&lt;/a&gt; of &lt;a href=&quot;http://en.wikipedia.org/wiki/Nepal&quot; title=&quot;Nepal&quot;&gt;Nepal&lt;/a&gt;, a &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Landlocked&quot; title=&quot;Landlocked&quot;&gt;landlocked&lt;/a&gt; country of &lt;a href=&quot;http://en.wikipedia.org/wiki/South_Asia&quot; title=&quot;South Asia&quot;&gt;South Asia&lt;/a&gt;. The district, with Sindhulimadhi &lt;a href=&quot;http://en.wikipedia.org/wiki/Kamalamai&quot; title=&quot;Kamalamai&quot;&gt;Kamalamai&lt;/a&gt;
 as its district headquarters and covers an area of 2,491&amp;nbsp;km². In 2001 
it had a population of 279,821, in 2011 the population was 296,192.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Historical_Importance&quot;&gt;Historical Importance&lt;/span&gt;&lt;/h2&gt;
This place has a huge historic significance. The Sindhuli Gadhi in 
Sindhuli is the place where British soldiers were defeated for the first
 time in Asia in 1767 A.D . The British under the leadership of Captain 
Kinloch came to help the then ruler of Kathmandu, Jai Prakash Malla 
against the attack of Prithvi Naraya Shah. The Gurkha soldiers were 
familiar with the terrain and they utilized it to the fullest. The &lt;a href=&quot;http://en.wikipedia.org/wiki/British_Army&quot; title=&quot;British Army&quot;&gt;British Army&lt;/a&gt;
 had advanced weaponry such as guns and cannons whereas the Gurkha were 
with bows and arrows, spears, etc. But the Gurkhas fought bravely and 
eventually defeated the British. The British ran for their lives and 
retreated leaving behind the weapons they brought together with them. 
Some of these weapons can still be found in Sindhuli Gadhi.&lt;br /&gt;
&lt;br /&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/AVvXsEhRsyXAUkAR7KYmlmMMDe8YecYb9tFbp_IZkkulkXK_jh4NgqHLtWVWqTQRW7uounICh4ObleUrAPfF5BNkCgAXUaQCfgyTQjpT-0HQFLKTGTVeLDI8TjFZiqLqVqfV5KeQEmujMAUKG61c/s1600/DSCN8656.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsyXAUkAR7KYmlmMMDe8YecYb9tFbp_IZkkulkXK_jh4NgqHLtWVWqTQRW7uounICh4ObleUrAPfF5BNkCgAXUaQCfgyTQjpT-0HQFLKTGTVeLDI8TjFZiqLqVqfV5KeQEmujMAUKG61c/s320/DSCN8656.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&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/AVvXsEg29-jIuJZiE_ZvfXHdiFCK2yF9N2wkdC39njvSR2eA2wYh5eK3pRO-XOBy9Gk-cBeOA-keW6CdaYN1YC87hLNywho1T6vrP5sux7TGsfEILbSvw3t_7GqErhxEnZu9cTSo-MZf2HQ107Q7/s1600/DSCN8666.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg29-jIuJZiE_ZvfXHdiFCK2yF9N2wkdC39njvSR2eA2wYh5eK3pRO-XOBy9Gk-cBeOA-keW6CdaYN1YC87hLNywho1T6vrP5sux7TGsfEILbSvw3t_7GqErhxEnZu9cTSo-MZf2HQ107Q7/s320/DSCN8666.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Sindhuli_District#cite_note-1&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Sindhuli_District#cite_note-1&quot;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/8592759000117505890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/8592759000117505890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/8592759000117505890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/8592759000117505890'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2013/04/travel-in-sindhuli-ghadi-in-nepal.html' title='Travel In Sindhuli Ghadi In Nepal'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsyXAUkAR7KYmlmMMDe8YecYb9tFbp_IZkkulkXK_jh4NgqHLtWVWqTQRW7uounICh4ObleUrAPfF5BNkCgAXUaQCfgyTQjpT-0HQFLKTGTVeLDI8TjFZiqLqVqfV5KeQEmujMAUKG61c/s72-c/DSCN8656.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-3976496353151945187</id><published>2013-01-21T20:44:00.001-08:00</published><updated>2013-01-21T20:44:06.506-08:00</updated><title type='text'> How to fix Error 0x80070522: A required privilege is not held by the client in Windows 7</title><content type='html'>Error 0x80070522: A required privilege is not held by the client&lt;br /&gt;&lt;br /&gt;Solution&lt;br /&gt;&lt;br /&gt;1. Reboot into Safe Mode.&lt;br /&gt;&lt;br /&gt;2. Log on as Administrator.&lt;br /&gt;&lt;br /&gt;3. Click Start&lt;br /&gt;&lt;br /&gt;4. Type the three letters cmd&lt;br /&gt;&lt;br /&gt;5. Press Ctrl+Shift+Enter&lt;br /&gt;&lt;br /&gt;6. Run the process as Administrator.&lt;br /&gt;&lt;br /&gt;7. Type the following commands and press Enter after each:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; takeown /f d:\ /a /r /d y&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cacls d:\&amp;nbsp; /t /c /g administrators:F&amp;nbsp; System:F&amp;nbsp; everyone:F&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Answer &quot;yes&quot; when prompted &quot;Are you sure?&quot;)&lt;br /&gt;&lt;br /&gt;The commands will make you the owner of drive D: and will give full access to everyone to all of its folders. </content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/3976496353151945187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/3976496353151945187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/3976496353151945187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/3976496353151945187'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2013/01/how-to-fix-error-0x80070522-required.html' title=' How to fix Error 0x80070522: A required privilege is not held by the client in Windows 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-5344182444474222198</id><published>2012-12-12T21:12:00.004-08:00</published><updated>2012-12-12T21:12:43.994-08:00</updated><title type='text'>Developer Groups</title><content type='html'>Welcome C# developers</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/5344182444474222198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/5344182444474222198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/5344182444474222198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/5344182444474222198'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/12/developer-groups.html' title='Developer Groups'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-6502712274786740127</id><published>2012-06-14T23:37:00.003-07:00</published><updated>2012-06-14T23:37:49.329-07:00</updated><title type='text'>Failed to access IIS metabase.</title><content type='html'>&lt;b&gt;Problem &lt;/b&gt;&lt;br /&gt;
Failed to access IIS metabase.&lt;br /&gt;
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.&lt;br /&gt;
Solution :-&lt;br /&gt;
This Error Caused Because You Not Have Register ASP.Net with IIS.Please Follow Following Step to Regiser ASP.Net With IIS.&lt;br /&gt;
-&gt; Go to Start - &gt;  Run -&gt; Cmd.&lt;br /&gt;
&lt;br /&gt;
-&gt; GO to Your System Drive Mostly C Drive.&lt;br /&gt;
&lt;br /&gt;
-&gt; Type C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i&lt;br /&gt;
Just wait And Message comes Successfully Register.&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/6502712274786740127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/6502712274786740127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6502712274786740127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6502712274786740127'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/06/failed-to-access-iis-metabase.html' title='Failed to access IIS metabase.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-7441831670686094662</id><published>2012-04-17T07:20:00.000-07:00</published><updated>2012-04-17T07:20:50.900-07:00</updated><title type='text'>SQL Server backup and restore to network drive</title><content type='html'>Problem
Sometimes there is a need to backup or restore your database to another server because of a lack of available disk space on the current server.  In this situation you have no other choice but to either remove unneeded files, find additional local storage or backup/restore across the network to another server. When using Enterprise Manager you can only see the local drives, so how do you address the drives on the other server?

Solution
Although SQL Server does not support browsing drives on other servers you do have the ability to use UNC (Universal Naming Convention) notation to address another server on your network. With a UNC path you can specify any server and any share in your network as long as you have access to read and write to these shares.

So instead of using the GUI to browse through the available drives and selecting the directory where you want to write your backup file, you would specify the UNC path for the server such as the following:

Do the following to create a backup:

Click on Add...

Instead of using the ellipses (...) to browse the drives, type in the UNC path along with the file name and select OK.

At this point select OK to start the backup.
 

In this example the backup file for the Northwind database will be placed on the &quot;F$&quot; share of server &quot;server25&quot;.  For each logical drive that exists on a server there is a corresponding $ share for each drive.  So for example if you had a C, D and E drive you could access these shares as C$, D$ and/or E$.  In order to access the administrator shares you need to have administrator access on the corresponding server or grant specific access to use these default shares.

In addition, you can create shares on your server such as SQLBACKUPS which could correspond to a directory such as &quot;F:\SQLServer\Backup&quot;.  This would enable you to specify the backup for this folder as:

\\server25\sqlbackup\northwind.bak

 

To do a restore the same process should be followed:

Click on Select Devices...

Click on Add...

Type in the UNC path along with the backup file name and click OK.

Click OK and OK on the next screen to start the restore.

As you can see there is not much too it, but having this ability makes life a lot easier especially in cases where you don&#39;t have enough disk space on the local server.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/7441831670686094662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/7441831670686094662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7441831670686094662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7441831670686094662'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/04/sql-server-backup-and-restore-to.html' title='SQL Server backup and restore to network drive'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-2872810650930334171</id><published>2012-04-01T19:39:00.002-07:00</published><updated>2012-04-01T19:44:07.329-07:00</updated><title type='text'>http://dl.dropbox.com/u/38588130/AMMYY_Admin.rar</title><content type='html'>Download ammyy admin
&lt;a href=&quot;http://dl.dropbox.com/u/38588130/AMMYY_Admin.rar&quot;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/2872810650930334171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/2872810650930334171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2872810650930334171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2872810650930334171'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/04/download-ammyyadmin.html' title='http://dl.dropbox.com/u/38588130/AMMYY_Admin.rar'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Kathmandu 44600, Nepal</georss:featurename><georss:point>27.702871 85.31824400000005</georss:point><georss:box>-9.0802610000000037 25.55261900000005 64.486003 145.08386900000005</georss:box></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-7386606643342062725</id><published>2012-04-01T19:35:00.002-07:00</published><updated>2012-04-01T19:36:34.307-07:00</updated><title type='text'>Download FreeTeamViewer_Setup</title><content type='html'>&lt;a href=&quot;http://dl.dropbox.com/u/38588130/TeamViewer_Setup.exe&quot;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/7386606643342062725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/7386606643342062725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7386606643342062725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7386606643342062725'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/04/download-freeteamviewersetup.html' title='Download FreeTeamViewer_Setup'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-2998395397855847816</id><published>2012-03-28T21:02:00.002-07:00</published><updated>2012-03-28T21:02:48.563-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="All In One Search"/><title type='text'>All In One Search</title><content type='html'>&lt;div id=&quot;cse&quot; style=&quot;width: 100%;&quot;&gt;Loading&lt;/div&gt;
&lt;script src=&quot;http://www.google.com/jsapi&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt; 
  google.load(&#39;search&#39;, &#39;1&#39;, {language : &#39;en&#39;, style : google.loader.themes.SHINY});
  google.setOnLoadCallback(function() {
    var customSearchOptions = {};  var customSearchControl = new google.search.CustomSearchControl(
      &#39;012996845536438376555:fnzxuyxyssu&#39;, customSearchOptions);
    customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);
    customSearchControl.draw(&#39;cse&#39;);
  }, true);
&lt;/script&gt;

&lt;style type=&quot;text/css&quot;&gt;
  .gsc-control-cse {
    font-family: Verdana, sans-serif;
    border-color: #DAE0E5;
    background-color: #DAE0E5;
  }
  .gsc-control-cse .gsc-table-result {
    font-family: Verdana, sans-serif;
  }
  input.gsc-input {
    border-color: #B6BEC5;
  }
  input.gsc-search-button {
    border-color: #B6BEC5;
    background-color: #D0D1D4;
  }
  .gsc-tabHeader.gsc-tabhInactive {
    border-color: #999999;
    background-color: #EEEEEE;
  }
  .gsc-tabHeader.gsc-tabhActive {
    border-color: #999999;
    background-color: #999999;
  }
  .gsc-tabsArea {
    border-color: #999999;
  }
  .gsc-webResult.gsc-result,
  .gsc-results .gsc-imageResult {
    border-color: #FFFFFF;
    background-color: #FFFFFF;
  }
  .gsc-webResult.gsc-result:hover,
  .gsc-imageResult:hover {
    border-color: #D2D6DC;
    background-color: #EDEDED;
  }
  .gsc-webResult.gsc-result.gsc-promotion:hover {
    border-color: #D2D6DC;
    background-color: #EDEDED;
  }
  .gs-webResult.gs-result a.gs-title:link,
  .gs-webResult.gs-result a.gs-title:link b,
  .gs-imageResult a.gs-title:link,
  .gs-imageResult a.gs-title:link b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:visited,
  .gs-webResult.gs-result a.gs-title:visited b,
  .gs-imageResult a.gs-title:visited,
  .gs-imageResult a.gs-title:visited b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:hover,
  .gs-webResult.gs-result a.gs-title:hover b,
  .gs-imageResult a.gs-title:hover,
  .gs-imageResult a.gs-title:hover b {
    color: #0568CD;
  }
  .gs-webResult.gs-result a.gs-title:active,
  .gs-webResult.gs-result a.gs-title:active b,
  .gs-imageResult a.gs-title:active,
  .gs-imageResult a.gs-title:active b {
    color: #0568CD;
  }
  .gsc-cursor-page {
    color: #0568CD;
  }
  a.gsc-trailing-more-results:link {
    color: #0568CD;
  }
  .gs-webResult .gs-snippet,
  .gs-imageResult .gs-snippet,
  .gs-fileFormatType {
    color: #5F6A73;
  }
  .gs-webResult div.gs-visibleUrl,
  .gs-imageResult div.gs-visibleUrl {
    color: #5F6A73;
  }
  .gs-webResult div.gs-visibleUrl-short {
    color: #5F6A73;
  }
  .gs-webResult div.gs-visibleUrl-short {
    display: none;
  }
  .gs-webResult div.gs-visibleUrl-long {
    display: block;
  }
  .gs-promotion div.gs-visibleUrl-short {
    display: none;
  }
  .gs-promotion div.gs-visibleUrl-long {
    display: block;
  }
  .gsc-cursor-box {
    border-color: #FFFFFF;
  }
  .gsc-results .gsc-cursor-box .gsc-cursor-page {
    border-color: #999999;
    background-color: #FFFFFF;
    color: #0568CD;
  }
  .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    border-color: #999999;
    background-color: #999999;
    color: #0568CD;
  }
  .gsc-webResult.gsc-result.gsc-promotion {
    border-color: #D2D6DC;
    background-color: #D0D1D4;
  }
  .gsc-completion-title {
    color: #0568CD;
  }
  .gsc-completion-snippet {
    color: #5F6A73;
  }
  .gs-promotion a.gs-title:link,
  .gs-promotion a.gs-title:link *,
  .gs-promotion .gs-snippet a:link {
    color: #0066CC;
  }
  .gs-promotion a.gs-title:visited,
  .gs-promotion a.gs-title:visited *,
  .gs-promotion .gs-snippet a:visited {
    color: #0066CC;
  }
  .gs-promotion a.gs-title:hover,
  .gs-promotion a.gs-title:hover *,
  .gs-promotion .gs-snippet a:hover {
    color: #0066CC;
  }
  .gs-promotion a.gs-title:active,
  .gs-promotion a.gs-title:active *,
  .gs-promotion .gs-snippet a:active {
    color: #0066CC;
  }
  .gs-promotion .gs-snippet,
  .gs-promotion .gs-title .gs-promotion-title-right,
  .gs-promotion .gs-title .gs-promotion-title-right *  {
    color: #333333;
  }
  .gs-promotion .gs-visibleUrl,
  .gs-promotion .gs-visibleUrl-short {
    color: #5F6A73;
  }
&lt;/style&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/2998395397855847816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/2998395397855847816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2998395397855847816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2998395397855847816'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2012/03/all-in-one-search.html' title='All In One Search'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-6017610868953673453</id><published>2011-12-07T20:29:00.001-08:00</published><updated>2011-12-07T20:29:47.154-08:00</updated><title type='text'>10 Quick Fixes to Make your Windows Computer Faster</title><content type='html'>&lt;b&gt;Quick Fixes to Make your Windows Computer Faster&lt;/b&gt;
Your computer running Windows isn’t running in the same speed that it used to run when you first used it. It’s slower, crappy, takes a while to start and tests your patience like anything. There are many reasons for this, let’s try fixing up a few things on your slow Windows PC:
&lt;b&gt;Slow Start Up&lt;/b&gt;
There can be a variety of reasons to Windows loading slow during start up. Go to Run, type msconfig and hit enter. Under the ‘Start Up’ tab, uncheck the unwanted programs and press OK. Things should be a bit fine the next time Windows boots.
Another program worth mentioning here is StartUp Delayer which will help in setting after how much time programs should be loaded after Windows boots. For instance, you could set your instant messenger program to load 50 seconds after Windows &lt;b&gt;starts up.&lt;/b&gt;
&lt;b&gt;Slow Loading Start Menu&lt;/b&gt;
If the Start Menu items are loading slowly, you can open the Registry Editor by typing in the Run menu ‘regedit.exe’ and pressing Enter. Go to HKEY_CURRENT_USERControl PanelDesktop. Look for MenuShowDelay, and double click to edit the value. The lower the number specified, the faster the Start Menu will load.
Slow Right Click Context Menu
Probably the Windows Right Click menu on your computer is loading slow because too many programs added unwanted entries there. Just download this program called Mmm, install it and then modify your context menu to remove unwanted items to speed it up.
Slow Send To Menu
If the Send To menu loads slowly, you can type ‘sendto’ in the Run Dialog, and remove unwanted items in the Explorer Window that appears. This should add some speed to it.
&lt;b&gt;Slow Defragmentation&lt;/b&gt;
The Windows Defragmenter can’t get any slower. You need to have an alternative to the Windows Defragmenter, and Defraggler is just one of the best ones available in the market. It’s free, and works like a charm and can speed up defragmentation manifold. For some alternatives, see Five Free Programs to Defragment your PC.
Slow loading My Computer Window
If the My Computer Window loads slowly, in the Explorer Window, go to Tools &gt;&gt; Folder Options &gt;&gt; View and uncheck ‘Automatically search for network folders and &lt;b&gt;printers”&lt;/b&gt;
Slow loading Add or Remove Programs Applet
This is one of the most annoying piece of programs present in Windows, it takes ages to load if you have a considerable number of programs installed on your computer. You can either use the all-in-one CCleaner for this purpose, or get MyUninstaller that comes as a speedy replacement for Add or Remove Programs.
Slow Ending of Unresponsive Programs
If you’ve clicked on ‘End Task’ if any program is running unresponsive, you might have noticed that the program is not terminated immediately. You can alter this by going to Run &gt;&gt; regedit.exe &gt;&gt; HKEY_LOCAL_MACHINESystemCurrentControlSetControl and change this value to 1000.
Disable Animations and Appearance Overhauls to maximize performance
If you’re a serious performance junkie, you probably won’t bother about eyecandy. Go to System Properties in the Control Panel. Click ‘Advanced’, then ‘Performance’ and click ‘Adjust for best performance’. This might boost your PC’s performance up a bit.
&lt;b&gt; 
Additional Tips:&lt;/b&gt;
- Always keep your computer clean. Remove Junk and Unnecessary registry entries. Use CCleaner for this purpose, one excellent tool that just does what it says.
- Don’t keep installing software. Install a program only if it really serves you a purpose.
- Keep as less programs as possible running on the System Tray. This essentially means reducing the</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/6017610868953673453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/6017610868953673453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6017610868953673453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6017610868953673453'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2011/12/10-quick-fixes-to-make-your-windows.html' title='10 Quick Fixes to Make your Windows Computer Faster'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-5056118511654664826</id><published>2010-11-14T23:01:00.001-08:00</published><updated>2010-11-14T23:01:10.238-08:00</updated><title type='text'>Introduction to JavaScript</title><content type='html'>Get acquainted with JavaScript
Outcome: Students will learn what JavaScript is, where to put scripts in an HTML document and
how to write simple scripts.
Objectives:
1.1 JavaScript vs Java vs HTML, automatic &amp; triggered scripts
1.2 Where to put your scripts in an HTML document
1.3 How to hide scripts from old web browsers
1.4 How to put comments in scripts
1.5 Alert boxes
1.6 Confirm &amp; Prompt boxes
1.7 Calling functions with a button - MCQ assignment
1. What is JavaScript and how is different from JAVA and HTML?
see table
2. Types of JavaScript
Client side - runs in browser
Server side - runs on server - embeded in web page but
processed on server
3. Scripts can run automatically or be user triggered
4. Placing Scripts
a) in Head tag - this prevents user triggered errors during downloading
b) in body - including within body tag as an attribute
c) within forms as Event handlers - script tag not required
5. &lt;SCRIPT&gt; TAGS
&lt;script&gt;&lt;/script&gt;
&lt;script language=&quot;JavaScript&quot;&gt; Can include version but don&#39;t recommend doing this
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;script type=&quot;&quot;text/javascript&quot; src=&quot;program.js or program.txt&quot;&gt;
src attribute not supported by Internet Explorer.
alternative Scripting langues used in web pages:
tcl tool control language Sun\Unix requires plugin
VB script I.E. only or Netscape with plugin
How HTML, Javascript and Java Compare - note the differences!
HTML
Developed in Geneva
Particle Physics lab
markup language
interpreted at runtime
platform independent
Currently version 4.0
Requires web browser
Some differences
depending on Browser
not case sensitive
Can be copied from web
page
Dynamic HTML -
combination of HTML,
JavaScript and Stylesheets
code can be copyrighted
but very rare
JAVASCRIPT
Developed by Netscape as
Live Script - changed to
JavaScript when endorsed
by Sun 1993, version 1.0
released with Netscape 2.0
scripting language
interpreted at runtime
platform independent
Object based - has limited
number of built in objects
Currently version 1.3
Requires web browser
Some differences
depending on Browser
limited number of base
objects - not fully extensible
case sensitive
syntax and basic structure
similar to JAVA
can not yet be used for
client server interaction
(at least not yet)
client side scripts
server side scripts
&lt;script&gt;&lt;/script&gt;
Can be copied from web
page
code can be copyrighted
JAVA
Developed by Sun
Microsystems
James Gosling 199(originally
called Oak changed to Java
1993)
True programming
compiled to bytecode
(not machine code)
platform independent
Object oriented - can create
their own classes
Currently version 1.2
Requires machine specific
interpretor or can use a web
browser
fully extensible i.e. has
unlimited no of objects
including classes with
inheritance
case sensitive
can be used for client server
interaction
In web pages - Applets
&lt;applet&gt;&lt;/applet&gt;
can not be copied from web
page - user must make
program available
code can be copyrighted
6. Comment TAGS
HTML &lt;!-- comment here --&gt;
JavaScript // single line comment
/* multiple line comments */
Adding comments to your script is very important so that you and others know what the various
components do especially if you examine the script after several months.
Netscape 1.0 does not support JavaScript
Internet Explorer 2.0 earlier does not support JavaScript
Some other browsers including most WYSIWYG HTML editors do not support JavaScript
Make sure you view scripts in both major browsers to see if it works!
7. Dot Syntax
document.write()
document = object
write() = method something the object does
object. property.method()
Hierachy window is the top not necessary to include
window.document.write()
window.alert()
Note JavaScript is case sensitive!
8. Parenthesis
&quot; &quot; or &#39; &#39; double or single can mix &quot; &#39; &quot; &quot; always pair properly
&quot;&quot; says treat as a literal value
9. Braces - Chicken lips - used with functions
{
{
}
}
10. Outputting to Screen (Can not send to printer)
document.write(&quot;Hello World&quot;)
document.writeln(&quot;Hello World&quot;) l is small letter L
need &lt;PRE&gt; tag before and script tag to work
Can include HTML tags inside
document.write(&quot;&lt;H1&gt;Hellow World&lt;/H&gt;&quot;)
Need to use &lt;P&gt; or &lt;BR&gt; tag to move to next line
Can also use \n
see Chapter 2 page 14
11) Alert boxes - see Chapter 2 page 17 - Negrino Book.
alert(&quot;message&quot;)
automatic alert by placing in &lt;Head&gt; tags
top object is window.alert(&quot;message&quot;) not necessary to include window
user triggered alert by placing in form button using no script
tags just event Handler onClick=&quot;alert(&#39;message&#39;)&quot; and form
note use of two &quot;&quot; &#39;&#39; parenthesis
Then create a function saySomething() activate with a
button - this will be the basis of homework assignment.
CAUTION: when using notepad to input code do not place a carriage return inside a JavaScript
statement or line of code - it will not work! Also make sure you add the .html extension to the file
name when saving your scripts in web page.
12) Confirm(&quot; Question&quot;)
returns Boolean True or False if you choose cancel returns null -
ie nothing
Confirm(&#39;Are aliens visiting our planet?)
Include and If else statement and write out a reply
13) Prompt box - user input
prompt(&quot;Question&quot;, &quot;text&quot;)
you can store information in the prompt by assigning a
variable to the prompt
var=prompt(&quot;What is your name&quot;, &quot;name&quot;)
document.write(&quot;&lt;H1&gt;Greetings&quot; + var + &quot;&lt;/H1&gt;&quot;)</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/5056118511654664826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/5056118511654664826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/5056118511654664826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/5056118511654664826'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/11/introduction-to-javascript.html' title='Introduction to JavaScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-7790155496530727754</id><published>2010-10-27T02:30:00.000-07:00</published><updated>2010-10-27T02:30:54.014-07:00</updated><title type='text'>Enable Remote Connection on SQL Server 2008 Express</title><content type='html'>&lt;b&gt;Enable Remote Connection on SQL Server 2008 Express&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you’re trying to connect to SQL Server 2008 Express remotely without enable remote connection first, you may see these error messages:&lt;br /&gt;
&lt;br /&gt;
    * “Cannot connect to SQL-Server-Instance-Name&lt;br /&gt;
      An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 – Server doesn’t support requested protocol) (Microsoft SQL Server)”&lt;br /&gt;
      Server doesn&#39;t support requested protocol&lt;br /&gt;
    * “Cannot connect to SQL-Server-Instance-Name&lt;br /&gt;
      An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (Microsoft SQL Server)”&lt;br /&gt;
      Error Locating Server/Instance Specified&lt;br /&gt;
    * “Cannot connect to SQL-Server-Instance-Name&lt;br /&gt;
      Login failed for user ‘username‘. (Microsoft SQL Server, Error: 18456)”&lt;br /&gt;
      Login failed for user &#39;sa&#39;&lt;br /&gt;
&lt;br /&gt;
To enable remote connection on SQL Server 2008 Express, see the step below:&lt;br /&gt;
&lt;br /&gt;
   1. Start SQL Server Browser service if it’s not started yet. SQL Server Browser listens for incoming requests for Microsoft SQL Server resources and provides information about SQL Server instances installed on the computer.&lt;br /&gt;
   2. Enable TCP/IP protocol for SQL Server 2008 Express to accept remote connection.&lt;br /&gt;
   3. (Optional) Change Server Authentication to SQL Server and Windows Authentication. By default, SQL Server 2008 Express allows only Windows Authentication mode so you can connect to the SQL Server with current user log-on credential. If you want to specify user for connect to the SQL Server, you have to change Server Authentication to SQL Server and Windows Authentication.&lt;br /&gt;
&lt;br /&gt;
Note: In SQL Server 2008 Express, there isn’t SQL Server Surface Area Configuration so you have to configure from SQL Server Configuration Manager instead.&lt;br /&gt;
Step-by-step&lt;br /&gt;
&lt;br /&gt;
   1. Open SQL Server Configuration Manager. Click Start -&gt; Programs -&gt; Microsoft SQL Server 2008 -&gt; Configuration Tools -&gt; SQL Server Configuration Manager.&lt;br /&gt;
      SQL Server Configuration Manager&lt;br /&gt;
   2. On SQL Server Configuration Manager, select SQL Server Services on the left window. If the state on SQL Server Browser is not running, you have to configure and start the service. Otherwise, you can skip to step 6.&lt;br /&gt;
      SQL Server Browser Service&lt;br /&gt;
   3. Double-click on SQL Server Browser, the Properties window will show up. Set the account for start SQL Server Browser Service. In this example, I set to Local Service account.&lt;br /&gt;
      Set Startup Account&lt;br /&gt;
   4. On SQL Server Browser Properties, move to Service tab and change Start Mode to Automatic. Therefore, the service will be start automatically when the computer starts. Click OK to apply changes.&lt;br /&gt;
      Set Start Mode to Automatic&lt;br /&gt;
   5. Back to SQL Server Configuration Manager, right-click on SQL Server Bowser on the right window and select Start to start the service.&lt;br /&gt;
      Start SQL Server Browser Service&lt;br /&gt;
   6. On the left window, expand SQL Server Network Configuration -&gt; Protocols for SQLEXPRESS. You see that TCP/IP protocol status is disabled.&lt;br /&gt;
      Protocols for SQL EXPRESS&lt;br /&gt;
   7. Right-click on TCP/IP and select Enable to enable the protocol.&lt;br /&gt;
      Enable TCP/IP protocol&lt;br /&gt;
   8. There is a pop-up shown up that you have to restart the SQL Service to apply changes.&lt;br /&gt;
      Need to Restart SQL Server Service&lt;br /&gt;
   9. On the left window, select SQL Server Services. Select SQL Server (SQLEXPRESS) on the right window -&gt; click Restart. The SQL Server service will be restarted.&lt;br /&gt;
      Restart SQL Server Service&lt;br /&gt;
  10. Open Microsoft SQL Server Management Studio and connect to the SQL Server 2008 Express.&lt;br /&gt;
      Open Microsoft SQL Server Management Studio&lt;br /&gt;
  11. Right-click on the SQL Server Instance and select Properties.&lt;br /&gt;
      Open Server Properties&lt;br /&gt;
  12. On Server Properties, select Security on the left window. Then, select SQL Server and Windows Authentication mode.&lt;br /&gt;
      Change Authentication to SQL Server and Windows Authentication&lt;br /&gt;
  13. Again, there is a pop-up shown up that you have to restart the SQL Service to apply changes.&lt;br /&gt;
      Need to Restart SQL Server Service&lt;br /&gt;
  14. Right-click on the SQL Server Instance and select Restart.&lt;br /&gt;
      Restart SQL Server Service&lt;br /&gt;
  15. That’s it. Now you should be able to connect to the SQL Server 2008 Express remotely.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/7790155496530727754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/7790155496530727754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7790155496530727754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7790155496530727754'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/10/enable-remote-connection-on-sql-server.html' title='Enable Remote Connection on SQL Server 2008 Express'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-1066252345975343754</id><published>2010-05-25T21:41:00.001-07:00</published><updated>2010-05-25T21:41:47.780-07:00</updated><title type='text'>Unregister Windows Installer, and then reregister Windows Installer. To do this, follow these steps:</title><content type='html'>3) Unregister Windows Installer, and then reregister Windows Installer. To do this, follow these steps:&lt;br /&gt;
             1. On the &quot;Start&quot; menu, click &quot;Run:.&lt;br /&gt;
              2. In the &quot;Open&quot; box, type &quot;msiexec /unreg&quot;, and then press ENTER.&lt;br /&gt;
              3. On the &quot;Start&quot; menu, click &quot;Run&quot;.&lt;br /&gt;
              4. In the &quot;Open&quot; box, type &quot;msiexec /regserver&quot;, and then press ENTER.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/1066252345975343754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/1066252345975343754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1066252345975343754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1066252345975343754'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/05/unregister-windows-installer-and-then.html' title='Unregister Windows Installer, and then reregister Windows Installer. To do this, follow these steps:'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-756144252404862838</id><published>2010-03-29T04:10:00.000-07:00</published><updated>2010-03-29T04:10:51.905-07:00</updated><title type='text'>Computer Network</title><content type='html'>Computer Network is process of connecting two or more than that Computers (Host) to share that data and resources. The resource cna be the Physical Peripheral&amp;nbsp; devices such as Printer, CD-Rom , Hard Disk etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Types of Network&lt;/b&gt;&lt;br /&gt;
1. LAN :&amp;nbsp; &lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Mangal;
	panose-1:0 0 4 0 0 0 0 0 0 0;
	mso-font-charset:1;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:32768 0 0 0 0 0;}
@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:1;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:Mangal;
	mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:Mangal;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;b&gt;Local Area Network&lt;/b&gt;&lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;u&gt;&lt;/u&gt;&lt;br /&gt;
2. MAN : &lt;meta content=&quot;text/html; charset=utf-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Word.Document&quot; name=&quot;ProgId&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Generator&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Microsoft Word 12&quot; name=&quot;Originator&quot;&gt;&lt;/meta&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Mangal;
	panose-1:0 0 4 0 0 0 0 0 0 0;
	mso-font-charset:1;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:32768 0 0 0 0 0;}
@font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:1;
	mso-generic-font-family:roman;
	mso-font-format:other;
	mso-font-pitch:variable;
	mso-font-signature:0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:Mangal;
	mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:Mangal;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;Metropolitan Area Network&lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;br /&gt;
3. WAN : Wide Area Network</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/756144252404862838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/756144252404862838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/756144252404862838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/756144252404862838'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/03/computer-network.html' title='Computer Network'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-1856238294661041197</id><published>2010-03-29T04:03:00.000-07:00</published><updated>2010-03-29T04:03:20.616-07:00</updated><title type='text'>Networking..</title><content type='html'>&lt;b&gt;Cabling&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Cabling&lt;br /&gt;
&amp;gt;&amp;gt; Cabling is process of connecting wires with the connectors there are different standar of cabling such as simple cabling and IEEE standar cabling or SISCO standar cabling &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. IEEE Standar Paraller Cabling&lt;br /&gt;
&amp;gt; Orange White&lt;br /&gt;
&amp;gt; Orange&lt;br /&gt;
&amp;gt; Green White&lt;br /&gt;
&amp;gt; Blue&lt;br /&gt;
&amp;gt; Blue White&lt;br /&gt;
&amp;gt; Green&lt;br /&gt;
&amp;gt; Brown White&lt;br /&gt;
&amp;gt; Brown&lt;br /&gt;
&lt;br /&gt;
2. IEEE Standar Cross Over&lt;br /&gt;
&amp;gt; Green White&lt;br /&gt;
&amp;gt; Green&lt;br /&gt;
&amp;gt; Orange White&lt;br /&gt;
&amp;gt; Blue&lt;br /&gt;
&amp;gt; Blue White&lt;br /&gt;
&amp;gt; Orange&lt;br /&gt;
&amp;gt; Brown White&lt;br /&gt;
&amp;gt; Brown&lt;br /&gt;
&lt;br /&gt;
Note: some cross over formula liek this&lt;br /&gt;
13, 26, 31, 62</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/1856238294661041197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/1856238294661041197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1856238294661041197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1856238294661041197'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/03/networking.html' title='Networking..'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-2524129222712761037</id><published>2010-03-29T03:36:00.000-07:00</published><updated>2010-03-29T03:36:35.960-07:00</updated><title type='text'>Blogger Buzz: Blogger integrates with Amazon Associates</title><content type='html'>&lt;a href=&quot;http://buzz.blogger.com/2009/12/blogger-integrates-with-amazon.html&quot;&gt;Blogger Buzz: Blogger integrates with Amazon Associates&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/2524129222712761037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/2524129222712761037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2524129222712761037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2524129222712761037'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/03/blogger-buzz-blogger-integrates-with.html' title='Blogger Buzz: Blogger integrates with Amazon Associates'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-7505323329055190932</id><published>2010-03-05T01:42:00.000-08:00</published><updated>2010-03-05T01:42:46.224-08:00</updated><title type='text'>DataGridView Default Error Dialog</title><content type='html'>Soluation&lt;br /&gt;
---------------------&lt;br /&gt;
Private Sub DataGridView1_CellEndEdit(ByVal sender As Object, _&lt;br /&gt;
                                      ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) _&lt;br /&gt;
                                      Handles DataGridView1.CellEndEdit&lt;br /&gt;
    Try&lt;br /&gt;
        &#39;&lt;br /&gt;
        &#39;all of your main logic goes here&lt;br /&gt;
        &#39;&lt;br /&gt;
    Catch ex As Exception&lt;br /&gt;
        MessageBox.Show(ex.Message)&lt;br /&gt;
        &#39;...&lt;br /&gt;
    End Try&lt;br /&gt;
&lt;br /&gt;
End Sub</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/7505323329055190932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/7505323329055190932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7505323329055190932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7505323329055190932'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2010/03/datagridview-default-error-dialog.html' title='DataGridView Default Error Dialog'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-6813922116949078651</id><published>2009-08-23T23:03:00.000-07:00</published><updated>2009-08-23T23:13:58.996-07:00</updated><title type='text'>The if statement</title><content type='html'>1.7.5 The if statement&lt;br /&gt;An if statement selects a statement for execution based on the value of a boolean expression. An if statement may optionally include an else clause that executes if the boolean expression is false. &lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main(string[] args) {&lt;br /&gt;  if (args.Length == 0)&lt;br /&gt;   Console.WriteLine(&quot;No arguments were provided&quot;);&lt;br /&gt;  else&lt;br /&gt;   Console.WriteLine(&quot;Arguments were provided&quot;);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows a program that uses an if statement to write out two different messages depending on whether command-line arguments were provided or not.&lt;br /&gt;1.7.6 The switch statement&lt;br /&gt;A switch statement executes the statements that are associated with the value of a given expression, or a default of statements if no match exists.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main(string[] args) {&lt;br /&gt;  switch (args.Length) {&lt;br /&gt;   case 0:&lt;br /&gt;    Console.WriteLine(&quot;No arguments were provided&quot;);&lt;br /&gt;    break;&lt;br /&gt;   case 1:&lt;br /&gt;    Console.WriteLine(&quot;One arguments was provided&quot;);&lt;br /&gt;    break;&lt;br /&gt;   default:&lt;br /&gt;    Console.WriteLine(&quot;{0} arguments were provided&quot;);&lt;br /&gt;    break;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;switches on the number of arguments provided.&lt;br /&gt;1.7.7 The while statement&lt;br /&gt;A while statement conditionally executes a statement zero or more times – as long as a boolean test is true.&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static int Find(int value, int[] arr) {&lt;br /&gt;  int i = 0;&lt;br /&gt;  while (arr[i] != value) {&lt;br /&gt;   if (++i &gt; arr.Length)&lt;br /&gt;    throw new ArgumentException();&lt;br /&gt;  }&lt;br /&gt;  return i; &lt;br /&gt; }&lt;br /&gt; static void Main() {&lt;br /&gt;  Console.WriteLine(Find(3, new int[] {5, 4, 3, 2, 1}));&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;uses a while statement to find the first occurrence of a value in an array.&lt;br /&gt;1.7.8 The do statement&lt;br /&gt;A do statement conditionally executes a statement one or more times.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  string s;&lt;br /&gt;  do {&lt;br /&gt;   s = Console.ReadLine();&lt;br /&gt;  }&lt;br /&gt;  while (!string.Equals(s, &quot;Exit&quot;));&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;reads from the console until the user types “Exit” and presses the enter key.&lt;br /&gt;1.7.9 The for statement&lt;br /&gt;A for statement evaluates a sequence of initialization expressions and then, while a condition is true, repeatedly executes a statement and evaluates a sequence of iteration expressions.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  for (int i = 0; i &lt; 10; i++)&lt;br /&gt;   Console.WriteLine(i);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;uses a for statement to write out the integer values 1 through 10.&lt;br /&gt;1.7.10 The foreach statement&lt;br /&gt;A foreach statement enumerates the elements of a collection, executing a statement for each element of the collection.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;using System.Collections;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void WriteList(ArrayList list) {&lt;br /&gt;  foreach (object o in list)&lt;br /&gt;   Console.WriteLine(o);  &lt;br /&gt; }&lt;br /&gt; static void Main() {&lt;br /&gt;  ArrayList list = new ArrayList();&lt;br /&gt;  for (int i = 0; i &lt; 10; i++)&lt;br /&gt;   list.Add(i);&lt;br /&gt;  WriteList(list);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;uses a foreach statement to iterate over the elements of a list.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/6813922116949078651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/6813922116949078651' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6813922116949078651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/6813922116949078651'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/if-statement.html' title='The if statement'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-1467405976192983122</id><published>2009-08-23T23:00:00.000-07:00</published><updated>2009-08-23T23:01:17.378-07:00</updated><title type='text'>Labeled statements and goto statements</title><content type='html'>1.7.2 Labeled statements and goto statements&lt;br /&gt;A labeled statement permits a statement to be prefixed by a label, and goto statements can be used to transfer control to a labeled statement.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  goto H;&lt;br /&gt;  W: Console.WriteLine(&quot;world&quot;);&lt;br /&gt;  return;  &lt;br /&gt;  H: Console.Write(&quot;Hello, &quot;);&lt;br /&gt;  goto W;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;is a convoluted version of the “Hello, world” program. The first statement transfers control to the statement labeled H. The first part of the message is written and then the next statement transfers control to the statement labeled W. The rest of the message is written, and the method returns.&lt;br /&gt;1.7.3 Local declarations of constants and variables&lt;br /&gt;A local constant declaration declares one or more local constants, and a local variable declaration declares one or more local variables.&lt;br /&gt;The example&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  const int a = 1;&lt;br /&gt;  const int b = 2, c = 3;&lt;br /&gt;  int d;&lt;br /&gt;  int e, f;&lt;br /&gt;  int g = 4, h = 5;&lt;br /&gt;  d = 4;&lt;br /&gt;  e = 5;&lt;br /&gt;  f = 6;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows a variety of local constant and variable declarations.&lt;br /&gt;&lt;br /&gt;1.7.4 Expression statements&lt;br /&gt;An expression statement evaluates a given expression. The value computed by the expression, if any, is discarded. Not all expressions are permitted as statements. In particular, expressions such as x + y and x == 1 that have no side effects, but merely compute a value (which will be discarded), are not permitted as statements.&lt;br /&gt;The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static int F() {&lt;br /&gt;  Console.WriteLine(&quot;Test.F&quot;);&lt;br /&gt;  return 0;&lt;br /&gt; }&lt;br /&gt; static void Main() {&lt;br /&gt;  F();&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows an expression statement. The call to the function F made from Main constitutes an expression statement. The value that F returns is simply discarded.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/1467405976192983122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/1467405976192983122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1467405976192983122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1467405976192983122'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/labeled-statements-and-goto-statements.html' title='Labeled statements and goto statements'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-4919167688663329372</id><published>2009-08-23T22:59:00.000-07:00</published><updated>2009-08-23T23:00:37.307-07:00</updated><title type='text'>Type system unification</title><content type='html'>1.6 Type system unification&lt;br /&gt;C# provides a “unified type system”. All types – including value types – can be treated like objects. Conceptually speaking, all types derive from object, and so it is possible to call object methods on any value, even values of “primitive” types such as int. The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  Console.WriteLine(3.ToString());&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;calls the object-defined ToString method on a constant value of type int.&lt;br /&gt;The example &lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  int i = 123;&lt;br /&gt;  object o = i;  // boxing&lt;br /&gt;  int j = (int) o; // unboxing&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;is more interesting. An int value can be converted to object and back again to int. This example shows both boxing and unboxing. When a variable of a value type needs to be converted to a reference type, an object box is allocated to hold the value, and the value is copied into the box. Unboxing is just the opposite. When an object box is cast back to its original value type, the value is copied out of the box and into the appropriate storage location.&lt;br /&gt;This type system unification provides value types with the benefits of object-ness, and does so without introducing unnecessary overhead. For programs that don’t need int values to act like object, int values are simply 32 bit values. For programs that need int’s to behave like objects, this functionality is available on-demand. This ability to treat value types as objects bridges the gap between value types and reference types that exists in most languages. For example, the NGWS class library includes a Hashtable class that provides an Add method that takes a Key and a Value. &lt;br /&gt;public class Hashtable&lt;br /&gt;{&lt;br /&gt; public void Add(object Key, object Value) {...}&lt;br /&gt; ...&lt;br /&gt;}&lt;br /&gt;Because C# has a unified type system, the users of the Hashtable class can use keys and values of any type, including value types.&lt;br /&gt;1.7 Statements&lt;br /&gt;C# borrows most of its statements directly from C and C++, though there are some noteworthy additions and modifications.&lt;br /&gt;1.7.1 Statement lists and blocks&lt;br /&gt;A statement list consists of one or more statements written in sequence, and a block permits multiple statements to be written in contexts where a single statement is expected. For instance, the example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() { // begin block 1&lt;br /&gt;  Console.WriteLine(&quot;Test.Main&quot;);&lt;br /&gt;  { // begin block 2&lt;br /&gt;   Console.WriteLine(&quot;Nested block&quot;);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows two blocks.</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/4919167688663329372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/4919167688663329372' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/4919167688663329372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/4919167688663329372'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/type-system-unification.html' title='Type system unification'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-7572416952824509289</id><published>2009-08-23T22:56:00.000-07:00</published><updated>2009-08-23T22:58:37.171-07:00</updated><title type='text'>Array types</title><content type='html'>1.5 Array types&lt;br /&gt;Arrays in C# may be single-dimensional or multi-dimensional. Both “rectangular” and “jagged” arrays are supported.&lt;br /&gt;Single-dimensional arrays are the most common type, so this is a good starting point. The example&lt;br /&gt;using System;&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  int[] arr = new int[5];&lt;br /&gt;  for (int i = 0; i &lt; arr.Length; i++)&lt;br /&gt;   arr[i] = i * i;&lt;br /&gt;  for (int i = 0; i &lt; arr.Length; i++)&lt;br /&gt;   Console.WriteLine(&quot;arr[{0}] = {1}&quot;, i, arr[i]);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;creates a single-dimensional array of int values, initializes the array elements, and then prints each of them out. The program output is:&lt;br /&gt;arr[0] = 0&lt;br /&gt;arr[1] = 1&lt;br /&gt;arr[2] = 4&lt;br /&gt;arr[3] = 9&lt;br /&gt;arr[4] = 16&lt;br /&gt;The type int[] used in the previous example is an array type. Array types are written using a non-array-type followed by one or more rank specifiers. The example&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  int[] a1;   // single-dimensional array of int&lt;br /&gt;  int[,] a2;   // 2-dimensional array of int&lt;br /&gt;  int[,,] a3;   // 3-dimensional array of int&lt;br /&gt;  int[][] j2;   // &quot;jagged&quot; array: array of (array of int)&lt;br /&gt;  int[][][] j3;  // array of (array of (array of int))&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows a variety of local variable declarations that use array types with int as the element type. &lt;br /&gt;Arrays are reference types, and so the declaration of an array variable merely sets aside space for the reference to the array. Array instances are actually created via array initializers and array creation expressions. The example&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  int[] a1 = new int[] {1, 2, 3};&lt;br /&gt;  int[,] a2 = new int[,] {{1, 2, 3}, {4, 5, 6}};&lt;br /&gt;  int[,,] a3 = new int[10, 20, 30];&lt;br /&gt;  int[][] j2 = new int[3][];&lt;br /&gt;  j2[0] = new int[] {1, 2, 3};&lt;br /&gt;  j2[1] = new int[] {1, 2, 3, 4, 5, 6};&lt;br /&gt;  j2[2] = new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9};&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows a variety of array creation expressions. The variables a1, a2 and a3 denote rectangular arrays, and the variable j2 denotes a jagged array. It should be no surprise that these terms are based on the shapes of the arrays. Rectangular arrays always have a rectangular shape. Given the length of each dimension of the array, its rectangular shape is clear. For example, the length of a3’s three dimensions are 10, 20, and 30 respectively, and it is easy to see that this array contains 10*20*30 elements.&lt;br /&gt;In contrast, the variable j2 denotes a “jagged” array, or an “array of arrays”. Specifically, j2 denotes an array of an array of int, or a single-dimensional array of type int[]. Each of these int[] variables can be initialized individually, and this allows the array to take on a jagged shape. The example gives each of the int[] arrays a different length. Specifically, the length of j2[0] is 3, the length of j2[1] is 6, and the length of j2[2] is 9.&lt;br /&gt;It is important to note that the element type and number of dimensions are part of an array’s type, but that the length of each dimension is not part of the array’s type. This split is made clear in the language syntax, as the length of each dimension is specified in the array creation expression rather than in the array type. For instance the declaration&lt;br /&gt;int[,,] a3 = new int[10, 20, 30];&lt;br /&gt;has an array type of int[,,] and an array creation expression of new int[10, 20, 30].&lt;br /&gt;For local variable and field declarations, a shorthand form is permitted so that it is not necessary to re-state the array type. For instance, the example&lt;br /&gt;int[] a1 = new int[] {1, 2, 3};&lt;br /&gt;can be shortened to&lt;br /&gt;int[] a1 = {1, 2, 3};&lt;br /&gt;without any change in program semantics.&lt;br /&gt;It is important to note that the context in which an array initializer such as {1, 2, 3} is used determines the type of the array being initialized. The example&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void Main() {&lt;br /&gt;  short[] a = {1, 2, 3};&lt;br /&gt;  int[] b = {1, 2, 3};&lt;br /&gt;  long[] c = {1, 2, 3};&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;shows that the same array initializer can be used for several different array types. Because context is required to determine the type of an array initializer, it is not possible to use an array initializer in an expression context. The example&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void F(int[] arr) {}&lt;br /&gt; static void Main() {&lt;br /&gt;  F({1, 2, 3});&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;is not valid because the array initializer {1, 2, 3} is not a valid expression. The example can be rewritten to explicitly specify the type of array being created, as in&lt;br /&gt;class Test&lt;br /&gt;{&lt;br /&gt; static void F(int[] arr) {}&lt;br /&gt; static void Main() {&lt;br /&gt;  F(new int[] {1, 2, 3});&lt;br /&gt; }&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/7572416952824509289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/7572416952824509289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7572416952824509289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/7572416952824509289'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/array-types.html' title='Array types'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-2674724736425807874</id><published>2009-08-23T22:48:00.001-07:00</published><updated>2009-08-23T22:52:54.631-07:00</updated><title type='text'>Predefined types</title><content type='html'>&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1.SHA%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;o:smarttagtype namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot;&gt;&lt;/o:smarttagtype&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;object classid=&quot;clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D&quot; id=&quot;ieooui&quot;&gt;&lt;/object&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&gt; &lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Lucida Console&quot;; 	panose-1:2 11 6 9 4 5 4 2 2 4; 	mso-font-charset:0; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-2147482993 6144 0 0 31 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:6.0pt; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} h1 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:24.0pt; 	margin-left:.3in; 	text-indent:-.3in; 	page-break-before:always; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:1; 	mso-list:l0 level1 lfo1; 	font-size:24.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h2 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.4in; 	text-indent:-.4in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:2; 	mso-list:l0 level2 lfo1; 	font-size:12.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h3 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.5in; 	text-indent:-.5in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:3; 	mso-list:l0 level3 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h4 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.6in; 	text-indent:-.6in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:4; 	mso-list:l0 level4 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} h5 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.7in; 	text-indent:-.7in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:5; 	mso-list:l0 level5 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} h6 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.8in; 	text-indent:-.8in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:6; 	mso-list:l0 level6 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.9in; 	text-indent:-.9in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:7; 	mso-list:l0 level7 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.MsoHeading8, li.MsoHeading8, div.MsoHeading8 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:8; 	mso-list:l0 level8 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.MsoHeading9, li.MsoHeading9, div.MsoHeading9 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:1.1in; 	text-indent:-1.1in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:9; 	mso-list:l0 level9 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.Code, li.Code, div.Code 	{mso-style-name:Code; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:6.0pt; 	margin-left:.5in; 	mso-pagination:widow-orphan lines-together; 	font-size:10.0pt; 	font-family:&quot;Lucida Console&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-no-proof:yes;} span.Codefragment 	{mso-style-name:&quot;Code fragment&quot;; 	mso-style-parent:&quot;&quot;; 	mso-ansi-font-size:10.0pt; 	font-family:&quot;Lucida Console&quot;; 	mso-ascii-font-family:&quot;Lucida Console&quot;; 	mso-hansi-font-family:&quot;Lucida Console&quot;; 	mso-no-proof:yes;} p.Table, li.Table, div.Table 	{mso-style-name:Table; 	margin-top:3.0pt; 	margin-right:0in; 	margin-bottom:3.0pt; 	margin-left:0in; 	mso-pagination:widow-orphan lines-together; 	page-break-after:avoid; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:2063093154; 	mso-list-template-ids:-1306379786;} @list l0:level1 	{mso-level-style-link:&quot;Heading 1&quot;; 	mso-level-suffix:space; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.3in; 	text-indent:-.3in;} @list l0:level2 	{mso-level-style-link:&quot;Heading 2&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.4in; 	text-indent:-.4in;} @list l0:level3 	{mso-level-style-link:&quot;Heading 3&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in;} @list l0:level4 	{mso-level-style-link:&quot;Heading 4&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.6in; 	text-indent:-.6in;} @list l0:level5 	{mso-level-style-link:&quot;Heading 5&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.7in; 	text-indent:-.7in;} @list l0:level6 	{mso-level-style-link:&quot;Heading 6&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.8in; 	text-indent:-.8in;} @list l0:level7 	{mso-level-style-link:&quot;Heading 7&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.9in; 	text-indent:-.9in;} @list l0:level8 	{mso-level-style-link:&quot;Heading 8&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in;} @list l0:level9 	{mso-level-style-link:&quot;Heading 9&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:1.1in; 	text-indent:-1.1in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;h2&gt;&lt;a name=&quot;_Toc485190506&quot;&gt;&lt;/a&gt;&lt;a name=&quot;_Toc485063931&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-size: 15pt; font-weight: normal;&quot;&gt;&lt;span style=&quot;&quot;&gt;1.1 &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-size: 15pt; font-weight: normal;&quot;&gt;Predefined types&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 15pt; font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;C# provides a set of predefined types, most of which will be familiar to C and C++ developers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The predefined reference types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;. The type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; is the ultimate base type of all other types.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The predefined value types include signed and unsigned integral types, floating point types, and the types &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;. The signed integral types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;sbyte&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;short&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;long&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;; the unsigned integral types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ushort&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;uint&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ulong&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;; and the floating point types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;float&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;double&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; type is used to represent boolean values: values that are either true or false. The inclusion of &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; makes it easier for developers to write self-documenting code, and also helps eliminate the all-too-common C++ coding error in which a developer mistakenly uses “&lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;” when “&lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;==&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;” should have been used. In C#, the example &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int i = ...;&lt;br /&gt;F(i);&lt;br /&gt;if (i = 0)&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;// Bug: the test should be (i == 0)&lt;br /&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;G();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;is invalid because the expression &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;i = 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; is of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;, and if statements require an expression of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; type is used to represent Unicode characters. A variable of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; represents a single 16-bit Unicode character.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; type is appropriate for calculations in which rounding errors are unacceptable. Common examples include financial calculations such as tax computations and currency conversions. The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; type provides 28 significant digits.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The table below lists each of the predefined types, and provides examples of each.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=&quot;MsoNormalTable&quot; style=&quot;border: medium none ; margin-left: 27.9pt; border-collapse: collapse;&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;&lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Examples&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;The ultimate base type of all   other types&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;object   o = new Stack();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;String type; a string is a   sequence of Unicode characters&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;string   s = &quot;Hello&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;sbyte&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;8-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;sbyte   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;short&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;16-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;short   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;32-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;64-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;long   val1 = 12;&lt;br /&gt;  long val2 = 34L;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;byte&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;8-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;byte   val1 = 12;&lt;br /&gt;  byte val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ushort&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;16-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ushort   val1 = 12;&lt;br /&gt;  ushort val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;uint&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;32-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;uint   val1 = 12;&lt;br /&gt;  uint val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ulong&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;64-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;ulong   val1 = 12;&lt;br /&gt;  ulong val2 = 34U;&lt;br /&gt;  ulong val3 = 56L;&lt;br /&gt;  ulong val4 = 78UL;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;float&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Single-precision floating point   type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;float   value = 1.23F;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;double&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Double-precision floating point   type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;double   val1 = 1.23&lt;br /&gt;  double val2 = 4.56D;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Boolean type; a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; value is either true or false&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;bool   value = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Character type; a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; value is a Unicode character&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;char   value = &#39;h&#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;decimal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Precise decimal type with 28   significant digits&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;decimal   value = 1.23M;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Each of the predefined types is shorthand for a system-provided type. For example, the keyword &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; is shorthand for a struct named &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;System.Int32&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;. The two names can be used interchangeably, though it is considered good style to use the keyword rather than the complete system type name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Predefined value types such as &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; are treated specially in a few ways but are for the most part treated exactly like other structs. The special treatment the these types includes literal support and efficient code generation. C#’s operator overloading feature enables developers to define types that behave like the predefined value types. For instance, a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Digit&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt; struct that supports the same mathematical operations as the predefined integral types, and that conversion to and from these types. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;using System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;struct Digit&lt;br /&gt;{...}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;class Test&lt;br /&gt;{&lt;br /&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;static void TestInt() {&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;int a = 1;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;int b = 2;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;int c = a + b;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;Console.WriteLine(c);&lt;br /&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;static void TestDigit() {&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;Digit a = (Digit) 1;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;Digit b = (Digit) 2;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;Digit c = a + b;&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;Console.WriteLine(c);&lt;br /&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;static void &lt;/span&gt;&lt;st1:place&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;Main&lt;/span&gt;&lt;/st1:place&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;() {&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;TestInt();&lt;br /&gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;TestDigit();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;span style=&quot;font-size: 15pt;&quot;&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;}&lt;br /&gt;} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/2674724736425807874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/2674724736425807874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2674724736425807874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2674724736425807874'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/predefined-types.html' title='Predefined types'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-2027917404195177194</id><published>2009-08-23T22:48:00.000-07:00</published><updated>2010-02-16T02:36:35.614-08:00</updated><title type='text'>Predefined types</title><content type='html'>&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 10&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CSHIVAS%7E1.SHA%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;o:smarttagtype namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot;&gt;&lt;/o:smarttagtype&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;object classid=&quot;clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D&quot; id=&quot;ieooui&quot;&gt;&lt;/object&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&gt; &lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Lucida Console&quot;; 	panose-1:2 11 6 9 4 5 4 2 2 4; 	mso-font-charset:0; 	mso-generic-font-family:modern; 	mso-font-pitch:fixed; 	mso-font-signature:-2147482993 6144 0 0 31 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:6.0pt; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} h1 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:24.0pt; 	margin-left:.3in; 	text-indent:-.3in; 	page-break-before:always; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:1; 	mso-list:l0 level1 lfo1; 	font-size:24.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h2 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.4in; 	text-indent:-.4in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:2; 	mso-list:l0 level2 lfo1; 	font-size:12.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h3 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.5in; 	text-indent:-.5in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:3; 	mso-list:l0 level3 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	mso-bidi-font-weight:normal;} h4 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.6in; 	text-indent:-.6in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:4; 	mso-list:l0 level4 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} h5 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.7in; 	text-indent:-.7in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:5; 	mso-list:l0 level5 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} h6 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.8in; 	text-indent:-.8in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:6; 	mso-list:l0 level6 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt; 	font-weight:normal;} p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:.9in; 	text-indent:-.9in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:7; 	mso-list:l0 level7 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.MsoHeading8, li.MsoHeading8, div.MsoHeading8 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:8; 	mso-list:l0 level8 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.MsoHeading9, li.MsoHeading9, div.MsoHeading9 	{mso-style-next:Normal; 	margin-top:8.0pt; 	margin-right:0in; 	margin-bottom:4.0pt; 	margin-left:1.1in; 	text-indent:-1.1in; 	mso-pagination:widow-orphan; 	page-break-after:avoid; 	mso-outline-level:9; 	mso-list:l0 level9 lfo1; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:Arial; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-font-kerning:14.0pt;} p.Code, li.Code, div.Code 	{mso-style-name:Code; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:6.0pt; 	margin-left:.5in; 	mso-pagination:widow-orphan lines-together; 	font-size:10.0pt; 	font-family:&quot;Lucida Console&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-no-proof:yes;} span.Codefragment 	{mso-style-name:&quot;Code fragment&quot;; 	mso-style-parent:&quot;&quot;; 	mso-ansi-font-size:10.0pt; 	font-family:&quot;Lucida Console&quot;; 	mso-ascii-font-family:&quot;Lucida Console&quot;; 	mso-hansi-font-family:&quot;Lucida Console&quot;; 	mso-no-proof:yes;} p.Table, li.Table, div.Table 	{mso-style-name:Table; 	margin-top:3.0pt; 	margin-right:0in; 	margin-bottom:3.0pt; 	margin-left:0in; 	mso-pagination:widow-orphan lines-together; 	page-break-after:avoid; 	font-size:11.0pt; 	mso-bidi-font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:2063093154; 	mso-list-template-ids:-1306379786;} @list l0:level1 	{mso-level-style-link:&quot;Heading 1&quot;; 	mso-level-suffix:space; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.3in; 	text-indent:-.3in;} @list l0:level2 	{mso-level-style-link:&quot;Heading 2&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.4in; 	text-indent:-.4in;} @list l0:level3 	{mso-level-style-link:&quot;Heading 3&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in;} @list l0:level4 	{mso-level-style-link:&quot;Heading 4&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.6in; 	text-indent:-.6in;} @list l0:level5 	{mso-level-style-link:&quot;Heading 5&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.7in; 	text-indent:-.7in;} @list l0:level6 	{mso-level-style-link:&quot;Heading 6&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.8in; 	text-indent:-.8in;} @list l0:level7 	{mso-level-style-link:&quot;Heading 7&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:.9in; 	text-indent:-.9in;} @list l0:level8 	{mso-level-style-link:&quot;Heading 8&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in;} @list l0:level9 	{mso-level-style-link:&quot;Heading 9&quot;; 	mso-level-suffix:space; 	mso-level-text:&quot;%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9&quot;; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	margin-left:1.1in; 	text-indent:-1.1in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;h2 style=&quot;text-align: center;&quot;&gt;&lt;a name=&quot;_Toc485190506&quot;&gt;&lt;/a&gt;&lt;a name=&quot;_Toc485063931&quot;&gt;&lt;span style=&quot;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot; font-weight: normal;font-size:15pt;&quot;&gt;&lt;span style=&quot;&quot;&gt;1.1 &lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot; font-weight: normal;font-size:15pt;&quot;&gt;Predefined types&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-weight: normal;font-size:15pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;C# provides a set of predefined types, most of which will be familiar to C and C++ developers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The predefined reference types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;. The type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; is the ultimate base type of all other types.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The predefined value types include signed and unsigned integral types, floating point types, and the types &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;. The signed integral types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;sbyte&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;short&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;long&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;; the unsigned integral types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;byte&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ushort&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;uint&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ulong&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;; and the floating point types are &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;float&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; and &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;double&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; type is used to represent boolean values: values that are either true or false. The inclusion of &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; makes it easier for developers to write self-documenting code, and also helps eliminate the all-too-common C++ coding error in which a developer mistakenly uses “&lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;” when “&lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;==&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;” should have been used. In C#, the example &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: -webkit-xxx-large; &quot;&gt;int i = ...;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;F(i);&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;if (i = 0)&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;// Bug: the test should be (i == 0)&lt;/div&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;G();&lt;/div&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;is invalid because the expression &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;i = 0&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; is of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;, and if statements require an expression of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; type is used to represent Unicode characters. A variable of type &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; represents a single 16-bit Unicode character.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; type is appropriate for calculations in which rounding errors are unacceptable. Common examples include financial calculations such as tax computations and currency conversions. The &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;decimal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; type provides 28 significant digits.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The table below lists each of the predefined types, and provides examples of each.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=&quot;MsoNormalTable&quot; style=&quot;text-align: center;border-top-width: medium; border-right-width: medium; border-bottom-width: medium; border-left-width: medium; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; margin-left: 27.9pt; border-collapse: collapse; &quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;&lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 58.5pt;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: solid solid solid none; border- border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:windowtext windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Description&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: solid solid solid none; border- border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:windowtext windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Examples&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;The ultimate base type of all   other types&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;object   o = new Stack();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;String type; a string is a   sequence of Unicode characters&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;string   s = &quot;Hello&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;sbyte&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;8-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;sbyte   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;short&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;16-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;short   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;32-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int   val = 12;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;long&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;64-bit signed integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;long   val1 = 12;&lt;br /&gt; long val2 = 34L;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;byte&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;8-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;byte   val1 = 12;&lt;br /&gt; byte val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ushort&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;16-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ushort   val1 = 12;&lt;br /&gt; ushort val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;uint&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;32-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;uint   val1 = 12;&lt;br /&gt; uint val2 = 34U;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ulong&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;64-bit unsigned integral type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;ulong   val1 = 12;&lt;br /&gt; ulong val2 = 34U;&lt;br /&gt; ulong val3 = 56L;&lt;br /&gt; ulong val4 = 78UL;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;float&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Single-precision floating point   type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;float   value = 1.23F;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;double&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Double-precision floating point   type&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;double   val1 = 1.23&lt;br /&gt; double val2 = 4.56D;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Boolean type; a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; value is either true or false&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;bool   value = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Character type; a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; value is a Unicode character&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;char   value = &#39;h&#39;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td  style=&quot;border-style: none solid solid; border- border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 58.5pt;color:-moz-use-text-color windowtext windowtext;&quot; valign=&quot;top&quot; width=&quot;78&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;decimal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 249.95pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;333&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Precise decimal type with 28   significant digits&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td  style=&quot;border-style: none solid solid none; border- border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 150.55pt;color:-moz-use-text-color windowtext windowtext -moz-use-text-color;&quot; valign=&quot;top&quot; width=&quot;201&quot;&gt;   &lt;p class=&quot;Table&quot;&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;decimal   value = 1.23M;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Each of the predefined types is shorthand for a system-provided type. For example, the keyword &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; is shorthand for a struct named &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;System.Int32&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;. The two names can be used interchangeably, though it is considered good style to use the keyword rather than the complete system type name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Predefined value types such as &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; are treated specially in a few ways but are for the most part treated exactly like other structs. The special treatment the these types includes literal support and efficient code generation. C#’s operator overloading feature enables developers to define types that behave like the predefined value types. For instance, a &lt;/span&gt;&lt;span class=&quot;Codefragment&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Digit&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt; struct that supports the same mathematical operations as the predefined integral types, and that conversion to and from these types. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;using System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: -webkit-xxx-large; &quot;&gt;struct Digit&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;{...}&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: -webkit-xxx-large; &quot;&gt;class Test&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;{&lt;/div&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;static void TestInt() {&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;int a = 1;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;int b = 2;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;int c = a + b;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Console.WriteLine(c);&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;}&lt;/div&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: -webkit-xxx-large; &quot;&gt;static void TestDigit() {&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Digit a = (Digit) 1;&lt;/div&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Digit b = (Digit) 2;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Digit c = a + b;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Console.WriteLine(c);&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;}&lt;/div&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;static void &lt;/span&gt;&lt;st1:place&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;Main&lt;/span&gt;&lt;/st1:place&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;() {&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;TestInt();&lt;/div&gt;&lt;span style=&quot;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;TestDigit();&lt;/div&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  &lt;p class=&quot;Code&quot;&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: -webkit-xxx-large; &quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size:15pt;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;}&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/2027917404195177194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/2027917404195177194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2027917404195177194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/2027917404195177194'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2009/08/predefined-types_23.html' title='Predefined types'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-4852119537814467038</id><published>2008-03-19T10:26:00.000-07:00</published><updated>2008-03-19T10:34:34.822-07:00</updated><title type='text'>Most of the programmer language..</title><content type='html'>If you ask any programmer that is your software module error frees. Have you checked the software module properly? They will reply that we have checked the software module but you also please see it once. This sentence means the person is not confident about himself.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;What is the best way of developing the software &amp;amp; versioning it?&lt;/strong&gt;&lt;br /&gt;&lt;span style=&quot;color:#6666cc;&quot;&gt;The best way of software developing is.&lt;/span&gt;&lt;br /&gt;First fully plan the software in papers. Plan total number of tables required in the database on papers.&lt;br /&gt;Plan all the relation of tables in the database on papers.&lt;br /&gt;Divide the software development into small pieces like month wise&lt;br /&gt;Develop first month software and then start using it. Till the first month software is in use the second month software will be developed. If the first month software is not successful then don’t use second month software. This is the most important point in software development. If you don’t follow this use then you will come in great problem after you use 1-2 years of software. All the modules will be having problems and you will end up correcting them.&lt;br /&gt;Over planning is always better in software development.&lt;br /&gt;Planning more than 70% in the starting is very difficult or not possible according to a survey.&lt;br /&gt;For giving the version name, the best way is, what ever is developed in first year in the software can be named as version 1, then in second year software as version 2, and so on….&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/4852119537814467038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/4852119537814467038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/4852119537814467038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/4852119537814467038'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2008/03/most-of-programmer-language.html' title='Most of the programmer language..'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6551698601232362500.post-1647161024937944209</id><published>2008-03-19T10:14:00.000-07:00</published><updated>2008-03-19T10:22:52.716-07:00</updated><title type='text'>Naming Conventions and Standards</title><content type='html'>1.     Use Pascal casing for Class names&lt;br /&gt;2.     Use Pascal casing for Method names&lt;br /&gt;3.     Use Camel casing for variables and method parameters&lt;br /&gt;4.   Use the prefix “I” with Camel Casing for interfaces&lt;br /&gt;5.     Do not use Hungarian notation to name variables.&lt;br /&gt;6.  Use Meaningful, descriptive words to name variables. Do not use abbreviations.&lt;br /&gt;7.     Do not use single character variable names like a, b, c etc. Use names like address, Name, Servername...&lt;br /&gt;8.   Do not use variable names that resemble keywords.&lt;br /&gt;9. Use appropriate prefix for the UI elements so that you can identify them from the rest of the variables&lt;br /&gt;10.      Use appropriate prefix for each of the ui element. A brief list is given below. Since .NET has given several controls, you may have to arrive at a complete list of standard prefixes for each of the controls (including third party controls) you are using.&lt;br /&gt;for examples...&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Control                         Prefix&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Lable                             Lbl&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;TextBox                         txt&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Combox                         cbo&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Command Button         Cmd&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;ListBox                           lst&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;CheckBox                       Chk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Option button              Opt&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;Table                             tbl&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#6600cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;.....</content><link rel='replies' type='application/atom+xml' href='http://shivashwor.blogspot.com/feeds/1647161024937944209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6551698601232362500/1647161024937944209' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1647161024937944209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6551698601232362500/posts/default/1647161024937944209'/><link rel='alternate' type='text/html' href='http://shivashwor.blogspot.com/2008/03/naming-conventions-and-standards.html' title='Naming Conventions and Standards'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>