<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0"><id>tag:blogger.com,1999:blog-6766476067295368549</id><updated>2024-09-28T19:38:54.744-07:00</updated><category term="Microsoft Visual studio"/><category term="Assembly"/><category term="Assemblies"/><category term="MS visual Studio.net"/><category term="Visual studio"/><category term=".Net Plateform"/><category term=".Net framework"/><category term="Assembly Cache"/><category term="Base class library"/><category term="Benfits of Metadata"/><category term="Boxing"/><category term="C# Keywords"/><category term="C# Preprocessor Directives"/><category term="CLR"/><category term="CLS"/><category term="Comments"/><category term="Comments in C#"/><category term="Console Application"/><category term="Creating Shared Assembly"/><category term="Creating a project"/><category term="Data Types"/><category term="Dereference Operator(*)"/><category term="Design Mode"/><category term="Download Cache:"/><category term="Features of Visual Studio.Net"/><category term="GAC"/><category term="Garbage Collection"/><category term="Global assembly cache"/><category term="Identifiers"/><category term="JIT"/><category term="Keywords"/><category term="MS Visual studio.net: Creating a Project"/><category term="MS Visual studio.net: Output"/><category term="MSIL"/><category term="Metadata"/><category term="Naming Rules"/><category term="Output window"/><category term="Pointers"/><category term="Private assembly"/><category term="Problem with private assembly"/><category term="Publish website"/><category term="Role of CLR"/><category term="Solution Explorer"/><category term="Split mode and HTML Mode"/><category term="Unboxing"/><category term="Unified Class"/><category term="Web Form"/><category term="Windows Forms"/><category term="source code protection in visual studio .net."/><title type="text">Learn .net with c#</title><subtitle type="html"/><link href="http://a1dotnetguru.blogspot.com/feeds/posts/default" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default?redirect=false" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/" rel="alternate" type="text/html"/><link href="http://pubsubhubbub.appspot.com/" rel="hub"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default?start-index=26&amp;max-results=25&amp;redirect=false" rel="next" type="application/atom+xml"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><generator uri="http://www.blogger.com" version="7.00">Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-8645177982208410413</id><published>2011-11-24T12:40:00.001-08:00</published><updated>2011-11-24T12:46:11.781-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Role of CLR"/><title type="text">Role of Common Language Run-Time(CLR) in .net framework</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;   &lt;div class="MsoNormal"&gt;The CLR is very important part of .net framework. It is execution engine for .net framework application. It also provides important capabilities in optimizing, securing and providing many robust capabilities such as application deployment and side by side execution.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;CLR provides no. of services that includes-&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;C&lt;/strong&gt;&lt;strong&gt;ode management(loading and execution)&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;application memory isolation&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;veryfication of type safety&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;conversion of IL to Native&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Access to metadata(enhance type information)&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Managing memory for managed objects&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Enforcement of code access security&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Exception handling, including cross-language exception&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Interoperation between managed code, COM objects, and pre-existing DLL(Unmanaged code and Data)&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Automation of object layout&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="color: #660000;"&gt;&lt;strong&gt;Support for developer service(profiling, debugging and so on)&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/8645177982208410413/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/11/role-of-common-language-run-timeclr-in.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8645177982208410413" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8645177982208410413" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/11/role-of-common-language-run-timeclr-in.html" rel="alternate" title="Role of Common Language Run-Time(CLR) in .net framework" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-3733477315573640764</id><published>2011-08-16T11:23:00.000-07:00</published><updated>2011-08-16T11:23:47.612-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unboxing"/><title type="text">Unboxing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Unboxing is an explicit conversion from the object to value type or from an interface type to a value type that implements the interface.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; An unboxing operation consists of:&lt;br /&gt;
* Checking the object instance to make sure it is a boxed value of the given value type.&lt;br /&gt;
* coping the value from the instance into the value type variable.&amp;nbsp;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/3733477315573640764/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/08/unboxing.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/3733477315573640764" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/3733477315573640764" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/08/unboxing.html" rel="alternate" title="Unboxing" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-9065153027200477949</id><published>2011-07-05T12:22:00.000-07:00</published><updated>2011-07-05T12:22:05.859-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Boxing"/><title type="text">Boxing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Boxing is an implicit conversion of a value type to a reference type. Consider the following value type variable.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a=12;&lt;br /&gt;
now boxing operation on above variable, &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object o=i; //boxing&lt;br /&gt;
Above statement create an object, on the stack, that references a value of type int, on the heap. this value is a copy of the vaue-type value assigned to the variable a. we ca understand it by&amp;nbsp;following fig.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It also possible, but never needed to perform the boxing explicitly as in the following example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a=12;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object o= (object) &amp;nbsp;i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/9065153027200477949/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/boxing.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/9065153027200477949" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/9065153027200477949" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/boxing.html" rel="alternate" title="Boxing" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-1011329685636074173</id><published>2011-07-05T00:08:00.001-07:00</published><updated>2011-07-05T00:08:15.576-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net Plateform"/><title type="text">.Net Plateform</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The .Net Plateform is a set of technologies. The Microsoft .Net Plateform consists of the following core technologies:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;The .net framework &lt;/li&gt;
&lt;li&gt;The .net enterprise server &lt;/li&gt;
&lt;li&gt;Building block services &lt;/li&gt;
&lt;li&gt;Visual studio .net &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/1011329685636074173/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/net-plateform.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/1011329685636074173" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/1011329685636074173" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/net-plateform.html" rel="alternate" title=".Net Plateform" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-8821390182083317786</id><published>2011-07-04T11:06:00.000-07:00</published><updated>2011-07-04T11:06:22.267-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dereference Operator(*)"/><title type="text">Dereference Operator(*)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;We know that pointer is a variable that holds memory address of another variable. We can directly access the value of a variable using a pointer pointing to address of that variable. For this we will use the indirection operator (*) also known as dereference operator(*).&amp;nbsp; By placing the dereference operator before a pointer variable, we can access the variable whose address is stored in the pointer. Let us an Example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a=65;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int *p=&amp;amp;a;&lt;br /&gt;
Now, in our program, if we place '*' before p then we can access the variable whose address is stored in p. Since p contains address of&amp;nbsp; variable a, we can access variable a by writing *p. So we can use *p in place of varible name a. For Example.&lt;br /&gt;
*p=2 is equivalent to a=2..&lt;br /&gt;
(*p)++ is equivalent to a++.&lt;br /&gt;
The dereference operator can be read as "value pointed by" or "value at the address". For example * p can be read as "value at the address p" or " value pointed by p".&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/8821390182083317786/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/dereference-operator.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8821390182083317786" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8821390182083317786" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/07/dereference-operator.html" rel="alternate" title="Dereference Operator(*)" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-6977120883078586754</id><published>2011-06-29T11:33:00.000-07:00</published><updated>2011-06-30T22:51:26.341-07:00</updated><title type="text">Address Opertor(&amp;)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Address operator also known as reference operator '&amp;amp;'. Address operator '&amp;amp;' returns the address of a variable when place before it. The address that locates a variable within memory is what we call a reference to that variable. Address operator '&amp;amp;' can&amp;nbsp; be read as "address of". For example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;a means "address of a"&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;salary means "address of salary"&lt;br /&gt;
int a=45;&lt;br /&gt;
&lt;br /&gt;
suppose at runtime a is placed in the memmory address 1886.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR8exMNExW7QC7nuA0wXsy9i1VSE72ipLkOe_p9KJ27rwf5mDHZG3yOyjIghDkZF6KTOkR6wvrw-yJFFtipRHoYS_HXyhqyUOZycwr8xBc47JZ87ho7aFWxfkO_FYt21gW7ymaDKpC1Pt4/s1600/memoryOfa.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="45" i$="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR8exMNExW7QC7nuA0wXsy9i1VSE72ipLkOe_p9KJ27rwf5mDHZG3yOyjIghDkZF6KTOkR6wvrw-yJFFtipRHoYS_HXyhqyUOZycwr8xBc47JZ87ho7aFWxfkO_FYt21gW7ymaDKpC1Pt4/s320/memoryOfa.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
b=a;&lt;br /&gt;
this will assign the value of a to the variable b.&lt;br /&gt;
c=&amp;amp;a;&lt;br /&gt;
&amp;nbsp;this will assign the address of variable&amp;nbsp;a to the variable c. The variable that store the reference of another variable(like c) is what we call a pointer.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzFmchNe3xKNoHMx4urZQ8oM68JWIr4yg-q-DswYkNPMhTAbY8wr0VlCfSuIRSJpjR1oIysaTqg1y_ejPY3LTzoOmhJkbp9kS0pvM1EjkeP9hWq1EbwjbjyGq4aKQEBIFMeD76ieVe4i3h/s1600/addressR.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="99" i$="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzFmchNe3xKNoHMx4urZQ8oM68JWIr4yg-q-DswYkNPMhTAbY8wr0VlCfSuIRSJpjR1oIysaTqg1y_ejPY3LTzoOmhJkbp9kS0pvM1EjkeP9hWq1EbwjbjyGq4aKQEBIFMeD76ieVe4i3h/s320/addressR.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/6977120883078586754/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/address-opertor.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6977120883078586754" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6977120883078586754" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/address-opertor.html" rel="alternate" title="Address Opertor(&amp;)" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR8exMNExW7QC7nuA0wXsy9i1VSE72ipLkOe_p9KJ27rwf5mDHZG3yOyjIghDkZF6KTOkR6wvrw-yJFFtipRHoYS_HXyhqyUOZycwr8xBc47JZ87ho7aFWxfkO_FYt21gW7ymaDKpC1Pt4/s72-c/memoryOfa.JPG" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-4281578192171595432</id><published>2011-06-23T11:14:00.000-07:00</published><updated>2011-06-27T04:58:00.384-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Comments"/><category scheme="http://www.blogger.com/atom/ns#" term="Comments in C#"/><title type="text">Comments in C#</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;C# supports&amp;nbsp;two styles of comment:.&lt;br /&gt;
1.&lt;span style="color: #cc0000;"&gt;&lt;strong&gt; Multiline comment: &lt;/strong&gt;&lt;/span&gt;&lt;span style="color: black;"&gt;Multiline comment must begin with &lt;span style="background-color: yellow;"&gt;/*&lt;/span&gt; and end with &lt;span style="background-color: yellow;"&gt;*/&lt;/span&gt;. Anything between these two comment symbol is ignored by compiler.&lt;/span&gt;&lt;br /&gt;
Example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;/* This is a&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; multiline comment&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; example */&lt;/span&gt;&lt;br /&gt;
2. Single Line comment: A single line comment begins with&amp;nbsp;&lt;span style="background-color: yellow;"&gt; //&lt;/span&gt; and end at the&amp;nbsp;end of the line.&lt;br /&gt;
Example:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #20124d;"&gt; &lt;/span&gt;&lt;span style="color: blue;"&gt;//single line comment example&lt;/span&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/4281578192171595432/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/comments-in-c.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/4281578192171595432" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/4281578192171595432" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/comments-in-c.html" rel="alternate" title="Comments in C#" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-6138741605998399089</id><published>2011-06-22T11:08:00.000-07:00</published><updated>2011-06-22T11:08:23.468-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Types"/><title type="text">Data Types</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Variables are declared as being of particular type, and each variable is constrained to hold only values of its declared type. C# is type safe language.&lt;br /&gt;
Variable can hold either value types or reference types, or they can be pointers.&amp;nbsp;&amp;nbsp;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/6138741605998399089/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/data-types.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6138741605998399089" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6138741605998399089" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/data-types.html" rel="alternate" title="Data Types" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-7305071801271147362</id><published>2011-06-21T13:04:00.000-07:00</published><updated>2011-06-21T13:04:58.364-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pointers"/><title type="text">Pointers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A pointer is a variable that holds the memory address of another variable. In c#, pointer can only be declared to hold the memory address of value types(except in the case of arrays).&lt;br /&gt;
&amp;nbsp;Pointers are declared implicitly using the &lt;span style="background-color: #6fa8dc; color: #660000;"&gt;dereferencer Symbol *,&lt;/span&gt; &lt;br /&gt;
&lt;strong&gt;&lt;span style="background-color: #ffe599;"&gt;int *p; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;Some programmer&lt;span style="color: black;"&gt; place the dereferencer symbol immediately after the type name.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="background-color: #ffe599;"&gt;int* p; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&amp;nbsp;&amp;nbsp; This variation appears to work just as well as the previous one. this declaration sets upa pointer "p", which will pointto the initial memory address of an integer(stored in four bytes).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/7305071801271147362/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/pointers.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/7305071801271147362" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/7305071801271147362" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/pointers.html" rel="alternate" title="Pointers" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-11765957004829432</id><published>2011-06-12T05:21:00.000-07:00</published><updated>2011-06-13T05:32:45.068-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="MS Visual studio.net: Output"/><category scheme="http://www.blogger.com/atom/ns#" term="Output window"/><title type="text">MS Visual studio.net: Output</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Output window, located on bottom left corner of MS visual studio.net. It display the result of your project compilation. When you compile your project, all errors, warnings and compilation results will be displayed in this window.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK9Onlh2fXg5N_HCwEh9a7hL6JuSQ3IY4MiTEuo5WOrjcGvapmONzElIImFR5Nazg1uF6yBD9s42lbsJN9G6s_l2RwWUMwtd_cahtFE83SpJlpNlGgGLIMmHAIfYz58qN4Hd4TieiD-gy1/s1600/output.jpg" imageanchor="1" style="clear: left; cssfloat: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="107" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK9Onlh2fXg5N_HCwEh9a7hL6JuSQ3IY4MiTEuo5WOrjcGvapmONzElIImFR5Nazg1uF6yBD9s42lbsJN9G6s_l2RwWUMwtd_cahtFE83SpJlpNlGgGLIMmHAIfYz58qN4Hd4TieiD-gy1/s400/output.jpg" t8="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/11765957004829432/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionet-output.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/11765957004829432" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/11765957004829432" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionet-output.html" rel="alternate" title="MS Visual studio.net: Output" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK9Onlh2fXg5N_HCwEh9a7hL6JuSQ3IY4MiTEuo5WOrjcGvapmONzElIImFR5Nazg1uF6yBD9s42lbsJN9G6s_l2RwWUMwtd_cahtFE83SpJlpNlGgGLIMmHAIfYz58qN4Hd4TieiD-gy1/s72-c/output.jpg" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-6181534506654747009</id><published>2011-06-12T04:24:00.000-07:00</published><updated>2011-06-13T05:45:45.030-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Creating a project"/><category scheme="http://www.blogger.com/atom/ns#" term="MS visual Studio.net"/><category scheme="http://www.blogger.com/atom/ns#" term="MS Visual studio.net: Creating a Project"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual studio"/><title type="text">MS Visual studio.net: Creating a Project</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;To create a new project, open MS visual studio.net:&lt;br /&gt;
1. Click on File menu&lt;br /&gt;
2.Choose New and then choose "Project"&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2v4Hr5fEcP6MggNHG8IgZD5gFHMHKBM6KzJYa2U0hSI6OSiSyNtxwprJKz67zrQjBQWPyLpLp54_MfNyiT66U5dEIljOIrxFTLIG9cpTSS9_HjLrtTzsjiVxNgW0FzAZvE4n6EdxR9l3G/s1600/newProject.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2v4Hr5fEcP6MggNHG8IgZD5gFHMHKBM6KzJYa2U0hSI6OSiSyNtxwprJKz67zrQjBQWPyLpLp54_MfNyiT66U5dEIljOIrxFTLIG9cpTSS9_HjLrtTzsjiVxNgW0FzAZvE4n6EdxR9l3G/s400/newProject.jpg" t8="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; It will give you many options. First you must select a type from the left side of the popup. You may choose visual basic project or visual c# projects based on the language you plan to use for development. Now you can choose template from the right side. you may choose windows application, asp.net web application or any other template based on the nature of the application you want. Give the name of project and specify location where you want to save the project. Then click &amp;nbsp;on "Ok".&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/6181534506654747009/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionet-creating-project.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6181534506654747009" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6181534506654747009" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionet-creating-project.html" rel="alternate" title="MS Visual studio.net: Creating a Project" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2v4Hr5fEcP6MggNHG8IgZD5gFHMHKBM6KzJYa2U0hSI6OSiSyNtxwprJKz67zrQjBQWPyLpLp54_MfNyiT66U5dEIljOIrxFTLIG9cpTSS9_HjLrtTzsjiVxNgW0FzAZvE4n6EdxR9l3G/s72-c/newProject.jpg" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-5707107740955612763</id><published>2011-06-12T03:13:00.000-07:00</published><updated>2011-06-13T05:38:25.918-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="Solution Explorer"/><title type="text">MS Visual studio.Net:Solution Explorer</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Solution Explorer is usually located on "top right corner" of MS visual studio.net. All the projects included in each solution and the list of files in each project are listed in the form of tree control.&lt;br /&gt;
When you create a MS Visual studio project, a solution will be automatically created. To add a new file to your project, you can right click on the project name in the solution explorer and choose the menu option "Add". It will give the option to choose a file type.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqN7GjDqu2mxXZ7tQrraZXHiFSMO-Qdo5aw9Eh85kztTYxAISHoWg1SY86fQ-xEceJ9izeNyBOFbzqyhy5JFdQnyZcwJzkgH6GXfblEK1Ir1PWlSA-bUYAc9rRWlxB1OOev-x_PLsGdxke/s1600/solutionExplorer.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqN7GjDqu2mxXZ7tQrraZXHiFSMO-Qdo5aw9Eh85kztTYxAISHoWg1SY86fQ-xEceJ9izeNyBOFbzqyhy5JFdQnyZcwJzkgH6GXfblEK1Ir1PWlSA-bUYAc9rRWlxB1OOev-x_PLsGdxke/s1600/solutionExplorer.jpg" t8="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span id="goog_1589087218"&gt;&lt;/span&gt;&lt;span id="goog_1589087219"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="goog_1589087214"&gt;&lt;/span&gt;&lt;span id="goog_1589087215"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id="goog_1589087214"&gt;&lt;/span&gt;&lt;span id="goog_1589087215"&gt;&lt;/span&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/5707107740955612763/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionetsolution-explorer.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5707107740955612763" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5707107740955612763" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studionetsolution-explorer.html" rel="alternate" title="MS Visual studio.Net:Solution Explorer" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqN7GjDqu2mxXZ7tQrraZXHiFSMO-Qdo5aw9Eh85kztTYxAISHoWg1SY86fQ-xEceJ9izeNyBOFbzqyhy5JFdQnyZcwJzkgH6GXfblEK1Ir1PWlSA-bUYAc9rRWlxB1OOev-x_PLsGdxke/s72-c/solutionExplorer.jpg" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-5803212774598636543</id><published>2011-06-06T11:23:00.000-07:00</published><updated>2011-06-08T11:40:41.848-07:00</updated><title type="text">#region</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="background-color: #93c47d;"&gt;#region&lt;/span&gt; is a preprocessor directive.Which is a block of code and it allows us to expand or collapse the code when using the outlining features of the MS visual studio code editor.&lt;br /&gt;
&lt;b&gt;Syntax::&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style="color: blue;"&gt;#region&lt;/span&gt; &amp;nbsp; MyRegion&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //your code here&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color: blue;"&gt;#endregion&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
MyRegion is name you want to give to the region, which will appear in the visual studio code editor. &lt;span style="background-color: #93c47d;"&gt;&lt;span style="background-color: white;"&gt;A &lt;span style="background-color: #93c47d;"&gt;#region&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; must be end with a &lt;span style="background-color: #6aa84f;"&gt;#endregion.&lt;span&gt;&lt;span style="background-color: white;"&gt; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #6aa84f;"&gt;&lt;span&gt;&lt;span style="background-color: white;"&gt;#region do not affect the intermediate language output.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="background-color: #6aa84f;"&gt;&lt;span&gt;&lt;span style="background-color: white;"&gt;&lt;strong&gt;Shortcuts:&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #6aa84f;"&gt;&lt;span&gt;&lt;span style="background-color: white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color: #6aa84f;"&gt;&lt;span style="background-color: white;"&gt;&lt;span style="background-color: white;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/5803212774598636543/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/region.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5803212774598636543" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5803212774598636543" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/region.html" rel="alternate" title="#region" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-1978056155095227141</id><published>2011-06-05T02:09:00.000-07:00</published><updated>2011-06-05T02:11:02.897-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C# Preprocessor Directives"/><title type="text">C# Preprocessor Directives</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Following are the c# preprocessor directives:&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;&lt;li&gt;#if&lt;/li&gt;
&lt;li&gt;#else&lt;/li&gt;
&lt;li&gt;#elif&lt;/li&gt;
&lt;li&gt;#endif&lt;/li&gt;
&lt;li&gt;#define&lt;/li&gt;
&lt;li&gt;#undef&lt;/li&gt;
&lt;li&gt;#warning&lt;/li&gt;
&lt;li&gt;#error&lt;/li&gt;
&lt;li&gt;#line&lt;/li&gt;
&lt;li&gt;#region&lt;/li&gt;
&lt;li&gt;#endregion&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/1978056155095227141/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/c-preprocessor-directives.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/1978056155095227141" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/1978056155095227141" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/c-preprocessor-directives.html" rel="alternate" title="C# Preprocessor Directives" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-824662817247222111</id><published>2011-06-04T11:41:00.000-07:00</published><updated>2011-06-12T03:40:59.261-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Design Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="MS visual Studio.net"/><category scheme="http://www.blogger.com/atom/ns#" term="Split mode and HTML Mode"/><title type="text">MS visual Studio.net: Design Mode Split mode and Source Mode</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;If you are developing a web application, you can switch between design mode split mode and source mode.When you are in source Mode, it will show HTML Tags and Asp.net code and you can manually edit it. You can switch to design mode by clicking the design button. In design mode you can see how your Asp.net page is going to look like when some one view your web page.Any change to source mode will be reflected in design mode and any change to design mode will be reflected to source Mode. Split mode will show both source mode and design mode together.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For windows form and web forms, you can see the file in design mode and source code associated with it. Double click on any form name in solution explorer will open it in design mode. Right click on any form and select the menu option "view code" to view the code associated with the form.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/824662817247222111/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studeionet-design-mode-and.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/824662817247222111" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/824662817247222111" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studeionet-design-mode-and.html" rel="alternate" title="MS visual Studio.net: Design Mode Split mode and Source Mode" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-2380129769297390225</id><published>2011-06-01T11:36:00.001-07:00</published><updated>2011-06-02T03:21:34.328-07:00</updated><title type="text">MS Visual Studeo.net: Toolbox</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Toolbox provides all the drag-drop controls for your application. If &amp;nbsp;you are developing the web application, toolbox will show Asp.net controls and if you are developing a windows application it will show windows controls like Radio button, text box, button etc.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You can drag-drop any controls from the toolbox to your form. After drag and drop any controls, double click on the control to go the default event associated with the control.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Toolbox will be enabled only when you have a web form or win Form opened in design mode and is usually located on top left corner of the visual Studio.net.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;By default, toolbox will be displayed as minimized(shown in following image by A). We will see only small icon written vertically with "Toolbox" on the left bar of VS.net. You can click on this minimized window to expand it(expanded window is marked&amp;nbsp; as "C" in image). When you move the mouse away from it, it will automatically minimize.you can keep the the toolbox always expended by pressing the push-pin (marked as "B" in image)&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_YNjZeovvy5F9J3ezCesTXrgB7l-SlS4oTY7frbH8dwrJvKCnhzgH2tSAEwjDzG0yN3HiaEWf126kl4IWLuVbzUTqiMbANafDjaLQflRgWjc15FmOyagn7DUq_OZojuZ3cb4VYOVNeDpr/s1600/toolbox.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_YNjZeovvy5F9J3ezCesTXrgB7l-SlS4oTY7frbH8dwrJvKCnhzgH2tSAEwjDzG0yN3HiaEWf126kl4IWLuVbzUTqiMbANafDjaLQflRgWjc15FmOyagn7DUq_OZojuZ3cb4VYOVNeDpr/s1600/toolbox.jpg" t8="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/2380129769297390225/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studeonet-toolbox.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/2380129769297390225" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/2380129769297390225" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/06/ms-visual-studeonet-toolbox.html" rel="alternate" title="MS Visual Studeo.net: Toolbox" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_YNjZeovvy5F9J3ezCesTXrgB7l-SlS4oTY7frbH8dwrJvKCnhzgH2tSAEwjDzG0yN3HiaEWf126kl4IWLuVbzUTqiMbANafDjaLQflRgWjc15FmOyagn7DUq_OZojuZ3cb4VYOVNeDpr/s72-c/toolbox.jpg" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-3606454424353230037</id><published>2011-05-29T13:36:00.000-07:00</published><updated>2011-05-29T13:36:48.382-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Features of Visual Studio.Net"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual studio"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual studio"/><title type="text">Microsoft Visual Studio</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;MS Visual Studio is an editor, Provided by microsoft to developers to write .net program easily. Visual Studio.net automatically generates lot of code, allows developers to drag and drop controls to a form, provides short cuts to compile and build the application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;strong&gt;&lt;span style="color: #660000;"&gt;Features of Visual Studio.Net&lt;/span&gt; :&lt;/strong&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;li&gt;Visual Studio.net automates the step required to compile the source code.&lt;/li&gt;
&lt;li&gt;Visual Studio editor can detect errors and suggests code as appropriate as you required.&lt;/li&gt;
&lt;li&gt;The visual studio designer for windows form and web form application allowing simple drag and drop design of user interface elements.&lt;/li&gt;
&lt;li&gt;The visual studio contains many powerful tools for visualizing &amp;amp; navigating through the elements our projects, whether they are c# code files or other resource such as bitmap images or sound files.&lt;/li&gt;
&lt;li&gt;&amp;nbsp;The visual studio enables advance debugging techniques when developing projects, such as ability to step through code one instruction at a time while keeping an eye on the state of our applications.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/3606454424353230037/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/microsoft-visual-studio.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/3606454424353230037" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/3606454424353230037" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/microsoft-visual-studio.html" rel="alternate" title="Microsoft Visual Studio" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-5015311855258380348</id><published>2011-05-25T22:18:00.000-07:00</published><updated>2011-05-25T22:18:30.135-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Visual studio"/><title type="text">Shortcut to open Microsoft Visual studio</title><content type="html">Shortcut to open Microsoft Visual studio&lt;br /&gt;
-&gt;start&lt;br /&gt;
-&gt;run&lt;br /&gt;
-&gt;type "devenv"&lt;br /&gt;
-&gt; press ok&lt;br /&gt;
Now, Microsoft Visual studio will be open.</content><link href="http://a1dotnetguru.blogspot.com/feeds/5015311855258380348/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/shortcut-to-open-microsoft-visual.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5015311855258380348" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5015311855258380348" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/shortcut-to-open-microsoft-visual.html" rel="alternate" title="Shortcut to open Microsoft Visual studio" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-7861324586148639506</id><published>2011-05-15T22:31:00.000-07:00</published><updated>2011-05-15T22:31:17.591-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Publish website"/><category scheme="http://www.blogger.com/atom/ns#" term="source code protection in visual studio .net."/><title type="text">Publish your web application using visual studio .net</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Publishing the web application provides a measure of protection for your intellectual property and makes it more difficult for others to access the source code of your site. When you published your web application, then every .cs file convert into dll and .aspx file that are using these files automatically got reference to these dll. You can publish your web application to a local or shared folder, to an FTP site, or to a Web site that you access by using a URL.&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style="color: #660000;"&gt;To publish a Web application&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;li&gt;In the &lt;span class="label"&gt;&lt;strong&gt;Build&lt;/strong&gt;&lt;/span&gt; menu, click &lt;span class="label"&gt;&lt;strong&gt;Publish&lt;/strong&gt;&lt;/span&gt; &lt;span class="parameter"&gt;&lt;em&gt;ProjectName&lt;/em&gt;&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM3clnS0PqbxzWh4QDb9udvJOikA9V4OFqfgSXy4JNTGr2-N9-Nd65J8VOGLzgZ1zk2sFVx4N9MwefpnDL4V2vP11Ta1psmoZR31E1IwmvSRKGxVvOAXLXgDDyQr8K_6AW9Ls5IzakKuPZ/s1600/Publish+website.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="125" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM3clnS0PqbxzWh4QDb9udvJOikA9V4OFqfgSXy4JNTGr2-N9-Nd65J8VOGLzgZ1zk2sFVx4N9MwefpnDL4V2vP11Ta1psmoZR31E1IwmvSRKGxVvOAXLXgDDyQr8K_6AW9Ls5IzakKuPZ/s400/Publish+website.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
OR&lt;br /&gt;
Right Click on web application in Solution explorer.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIL7X4YF4GnVjlVzghUQBbXWUgrc8fG61rS_wVTE76j6-OrK2K2MlYVGic3kLZ3ZJABRFnL7IJqUfBA4rfzWIOuwLCMOWi79CEDwz3nFAsQPDyKQW00oEd3zCq0tKpu5O0s4HKTLGgccLK/s1600/Publish+website1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" j8="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIL7X4YF4GnVjlVzghUQBbXWUgrc8fG61rS_wVTE76j6-OrK2K2MlYVGic3kLZ3ZJABRFnL7IJqUfBA4rfzWIOuwLCMOWi79CEDwz3nFAsQPDyKQW00oEd3zCq0tKpu5O0s4HKTLGgccLK/s320/Publish+website1.jpg" width="296" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
Choose "Publish website" Option.
&lt;li&gt;Click the ellipsis button (&lt;span class="label"&gt;&lt;strong&gt;…&lt;/strong&gt;&lt;/span&gt;) to browse to the location that you want to publish the Web application&amp;nbsp; to.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfjaR5kV_jbJomXdoGpYfduzi1lXO-WhH8Lx7xrjzumeD0cPfA9HUGOgddymH9NWlvgH2I6lfV_QSx1Q-VcG6gpemG3VCN986E48o1ZWUklSQtignZSN4plJ-snaABG6Pep4HYZUdXEYy/s1600/Publish+website.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfjaR5kV_jbJomXdoGpYfduzi1lXO-WhH8Lx7xrjzumeD0cPfA9HUGOgddymH9NWlvgH2I6lfV_QSx1Q-VcG6gpemG3VCN986E48o1ZWUklSQtignZSN4plJ-snaABG6Pep4HYZUdXEYy/s400/Publish+website.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Select the &lt;span class="label"&gt;&lt;strong&gt;Replace matching files with local copies&lt;/strong&gt;&lt;/span&gt; check box or the &lt;span class="label"&gt;&lt;strong&gt;Delete all existing files prior to publish&lt;/strong&gt;&lt;/span&gt; check box.&lt;/li&gt;
&lt;li&gt;Select how you want to copy the Web application project files to the new location by using &lt;span class="label"&gt;&lt;strong&gt;Only files needed to run this application&lt;/strong&gt;&lt;/span&gt;, &lt;span class="label"&gt;&lt;strong&gt;All project files&lt;/strong&gt;&lt;/span&gt;, or &lt;span class="label"&gt;&lt;strong&gt;All files in the source project folder&lt;/strong&gt;&lt;/span&gt;. &lt;br /&gt;
You can include files from the App_Data folder by selecting the corresponding check box.&lt;/li&gt;
&lt;li&gt;Click &lt;span class="label"&gt;&lt;strong&gt;OK&lt;/strong&gt;&lt;/span&gt; to publish the Web application project.&lt;br /&gt;
In the task bar, &lt;span class="label"&gt;&lt;strong&gt;Publish succeeded&lt;/strong&gt;&lt;/span&gt; is displayed when publishing has finished.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/7861324586148639506/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/publish-your-web-application-using.html#comment-form" rel="replies" title="3 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/7861324586148639506" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/7861324586148639506" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/publish-your-web-application-using.html" rel="alternate" title="Publish your web application using visual studio .net" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM3clnS0PqbxzWh4QDb9udvJOikA9V4OFqfgSXy4JNTGr2-N9-Nd65J8VOGLzgZ1zk2sFVx4N9MwefpnDL4V2vP11Ta1psmoZR31E1IwmvSRKGxVvOAXLXgDDyQr8K_6AW9Ls5IzakKuPZ/s72-c/Publish+website.jpg" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-9177034003467366833</id><published>2011-05-09T09:41:00.000-07:00</published><updated>2011-05-09T09:41:13.565-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Benfits of Metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="Metadata"/><title type="text">Benfits of Metadata</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Metadata allows .net languages to describes themselves automatically in a language natural manner, unseen by both the developer and the user. Metadata provides the following major benefits:&lt;br /&gt;
&lt;span style="color: #660000; font-size: large;"&gt;&lt;strong&gt;Self-describing type:-&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;Comman language run-time modules and assemblies are self describing. The matadata contains everything needed to intract with&amp;nbsp;another modules. Run-time modules and assemblies do not even require registration&amp;nbsp;with the operating System.&lt;br /&gt;
&lt;span style="color: #660000; font-size: large;"&gt;&lt;strong&gt;Language interoperability and Easier component based design:-&lt;/strong&gt;&lt;/span&gt; Metadata provides all the information required about compiled code for you to inherit a class from a PE filewritten in different language. We can create an instanse of any class written in any managed language(any language that target the CLR) without worrying about explicit marshaling or using custom interoperability code&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: #660000; font-size: large;"&gt;attributes:-&lt;/span&gt;&lt;/strong&gt; The .netframework allows you to declare a specific kinds of metadata, called attributes, in your compiled file. Attributes can be found throughout the .netframwork and are used to control in more detail how your programe behaves at run-time. Additinally you can emit your own custom metadata into .net framework files user defined custom attributes.&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/9177034003467366833/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/benfits-of-metadata.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/9177034003467366833" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/9177034003467366833" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/05/benfits-of-metadata.html" rel="alternate" title="Benfits of Metadata" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-8853040317703491218</id><published>2011-03-28T14:23:00.000-07:00</published><updated>2011-04-02T12:56:47.369-07:00</updated><title type="text">Source Code to send simple e-mail in asp.net</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;strong&gt;&lt;span style="color: #274e13;"&gt;Create user interface&amp;nbsp; for sending the mail.&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: #274e13;"&gt;&lt;span style="background-color: yellow;"&gt;email.aspx&lt;/span&gt; page &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="email.aspx.cs" Inherits="email" %&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head runat="server"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;E-mail sending program&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width="100%" border="2"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 40px; width: 55px;"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID="Label3" runat="server" Text="From"&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 40px"&amp;gt;&amp;lt;asp:TextBox ID="TextBox1" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&amp;lt;asp:Label ID="Label1" runat="server" Text="TO"&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:TextBox ID="TextBox2" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 28px"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID="Label2" runat="server" Text="Subject"&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 28px"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&amp;lt;asp:TextBox ID="TextBox3" runat="server" &amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 54px"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td style="height: 54px"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;nbsp;&amp;lt;asp:TextBox ID="TextBox4" runat="server" Height="56px"&amp;nbsp; TextMode="MultiLine"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID="Label4" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;span style="color: #274e13;"&gt;&lt;strong&gt;Its design view will be :&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBPPWHgwSbxQHEek0G0Xli_khvPwIDn-RY9hFgW1tazYSPVrwtgtMSqxLwtX0bQx_VA8z1w07kYsutd6WLcfw754Kq9wzepFil9Dp7jJFeCbeDc6oI3z0WagmRUGEC887ZthdMvL-R1tbW/s1600/simpleMail.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" r6="true" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBPPWHgwSbxQHEek0G0Xli_khvPwIDn-RY9hFgW1tazYSPVrwtgtMSqxLwtX0bQx_VA8z1w07kYsutd6WLcfw754Kq9wzepFil9Dp7jJFeCbeDc6oI3z0WagmRUGEC887ZthdMvL-R1tbW/s1600/simpleMail.bmp" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&amp;nbsp;Code behind page: &lt;br /&gt;
&lt;span style="background-color: yellow;"&gt;email.aspx.cs&lt;/span&gt;&amp;nbsp; page&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
using System.Web.UI.WebControls.WebParts;&lt;br /&gt;
using System.Web.UI.HtmlControls;&lt;br /&gt;
using System.Net;&lt;br /&gt;
using System.Net.Mail;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;public partial class email : System.Web.UI.Page&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MailMessage m = new MailMessage(TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NetworkCredential n = new NetworkCredential("yourEmailId","YourPassword");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SmtpClient s = new SmtpClient("smtp.gmail.com", 587);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.EnableSsl = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.UseDefaultCredentials = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.Credentials = n;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.Send(m);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label4.Text = "send" ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(Exception e1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label4.Text = "Enabled to send"+e1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;Here i am using gmail smtp server and its port. you can use own smtp server, If you have own smtp server.&lt;/span&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/8853040317703491218/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/03/source-code-to-send-simple-e-mail-in.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8853040317703491218" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8853040317703491218" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/03/source-code-to-send-simple-e-mail-in.html" rel="alternate" title="Source Code to send simple e-mail in asp.net" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBPPWHgwSbxQHEek0G0Xli_khvPwIDn-RY9hFgW1tazYSPVrwtgtMSqxLwtX0bQx_VA8z1w07kYsutd6WLcfw754Kq9wzepFil9Dp7jJFeCbeDc6oI3z0WagmRUGEC887ZthdMvL-R1tbW/s72-c/simpleMail.bmp" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-2022761053656577219</id><published>2011-02-23T13:14:00.000-08:00</published><updated>2011-02-23T13:14:00.928-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Assembly"/><title type="text">Benefits of assembly</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ul style="margin-top: 0in;" type="disc"&gt;&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;&lt;city w:st="on"&gt;&lt;place w:st="on"&gt;Independence&lt;/place&gt;&lt;/city&gt; from system registry.&lt;/li&gt;
&lt;li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;Solving versioning problem (DLL hell).&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/2022761053656577219/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/benefits-of-assembly.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/2022761053656577219" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/2022761053656577219" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/benefits-of-assembly.html" rel="alternate" title="Benefits of assembly" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-5737636353186146219</id><published>2011-02-01T12:55:00.000-08:00</published><updated>2011-02-01T12:55:29.366-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Download Cache:"/><title type="text">Download Cache</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;It stores code downloaded from internet sites, isolated to the application to the application that triggered the download so that code downloaded on behalf of one application or page does not impact other applications.&lt;/div&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/5737636353186146219/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/download-cache.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5737636353186146219" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/5737636353186146219" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/download-cache.html" rel="alternate" title="Download Cache" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-8898716014518727549</id><published>2011-02-01T12:49:00.000-08:00</published><updated>2011-02-01T12:49:57.882-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GAC"/><category scheme="http://www.blogger.com/atom/ns#" term="Global assembly cache"/><title type="text">Global assembly cache (GAC)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;It contains assemblies that are explicitly installed to be shared among applications on the computer. GAC is the special directory located in the windows \assembly directory (in windows XP) or WINNT\assembly directory (in windows 2000/2003). All shared assembly including the .net framework system assemblies supplied by Microsoft .net framework library are located and loaded in GAC.&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/8898716014518727549/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/global-assembly-cache-gac.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8898716014518727549" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/8898716014518727549" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/02/global-assembly-cache-gac.html" rel="alternate" title="Global assembly cache (GAC)" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6766476067295368549.post-6377992794933926358</id><published>2011-01-30T12:08:00.000-08:00</published><updated>2011-01-30T12:08:59.132-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Assembly Cache"/><title type="text">Assembly Cache</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;An assembly cache is a machine-wide code cache used for side by side storage of assemblies. There are two parts to the cache:&lt;/div&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;div class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"&gt;Global Assembly cache (GAC)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Times New Roman'; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-US;"&gt;Download cache&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</content><link href="http://a1dotnetguru.blogspot.com/feeds/6377992794933926358/comments/default" rel="replies" title="Post Comments" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/01/assembly-cache.html#comment-form" rel="replies" title="0 Comments" type="text/html"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6377992794933926358" rel="edit" type="application/atom+xml"/><link href="http://www.blogger.com/feeds/6766476067295368549/posts/default/6377992794933926358" rel="self" type="application/atom+xml"/><link href="http://a1dotnetguru.blogspot.com/2011/01/assembly-cache.html" rel="alternate" title="Assembly Cache" type="text/html"/><author><name>Amit kumar Yadav</name><uri>http://www.blogger.com/profile/05611958855333789254</uri><email>noreply@blogger.com</email><gd:image height="32" rel="http://schemas.google.com/g/2005#thumbnail" src="//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg21OXBZw92rWgwMAgLLXYbqt2PCrxiJsoyiCUr8kwRvpgNcfx2j0R7sWKlkgNCKe_K3xlIKVs78b_zKJrGsvfifsR1ZVzndv2jLbkce9--NApdnV5Vbw_OFAl8IylgztA/s220/amit+img.jpg" width="32"/></author><thr:total>0</thr:total></entry></feed>