<?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: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-4785863238854184099</id><updated>2011-11-28T06:09:42.189+05:30</updated><category term='welcome'/><title type='text'>DOT NET USING C-SHARP (C#)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-4135790081417500614</id><published>2008-03-07T07:48:00.002+05:30</published><updated>2008-12-11T08:02:27.855+05:30</updated><title type='text'>While Loop</title><content type='html'>&lt;div&gt;//Now let us see how the while loop works&lt;br /&gt;using System;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;namespace whileloop&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;class cl1&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;static void Main()&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;int i=0,j,sum=0;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Console.WriteLine("Enter 10 No.s");&lt;/div&gt;&lt;br /&gt;&lt;div&gt;while(i&lt;10)&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;j=Convert.ToInt32(Console.ReadLine());&lt;/div&gt;&lt;br /&gt;&lt;div&gt;sum=sum+j;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;i++;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Console.WriteLine("Sum="+sum);&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CmkrJvJyI/AAAAAAAAACY/VvBhZC5wyV4/s1600-h/whileloop.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174819120837764898" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CmkrJvJyI/AAAAAAAAACY/VvBhZC5wyV4/s320/whileloop.bmp" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-4135790081417500614?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/4135790081417500614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=4135790081417500614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4135790081417500614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4135790081417500614'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/while-loop.html' title='While Loop'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CmkrJvJyI/AAAAAAAAACY/VvBhZC5wyV4/s72-c/whileloop.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-6919964270635732706</id><published>2008-03-07T07:31:00.000+05:30</published><updated>2008-03-07T07:47:13.932+05:30</updated><title type='text'>Looping Statements</title><content type='html'>Let us consider acondition where we have to get a 100 numbers.These codes can sill be length like&lt;br /&gt;inum1=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;inum2=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;inum3=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;inum4=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;inum5=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;inum6=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;inum100=Convert.ToInt32(Console.ReadLine());&lt;br /&gt;so to over come these problem we are using the loop sattements....Here we will use a loop statement  the body will be executed until the condition turns false&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-6919964270635732706?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/6919964270635732706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=6919964270635732706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/6919964270635732706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/6919964270635732706'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/looping-statements.html' title='Looping Statements'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-747265845547158458</id><published>2008-03-07T07:26:00.002+05:30</published><updated>2008-12-11T08:02:28.054+05:30</updated><title type='text'>Arithmetic operators with switch</title><content type='html'>&lt;div&gt;// Again one more switch condition statement.... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;using System;&lt;/div&gt;&lt;div&gt;namespace symbols&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;class class1&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;static void Main()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;char ch;&lt;/div&gt;&lt;div&gt;int inum1,inum2,inum3;&lt;/div&gt;&lt;div&gt;double dnum;&lt;/div&gt;&lt;div&gt;Console.WriteLine("Enter first nmber");&lt;/div&gt;&lt;div&gt;inum1=Convert.ToInt32(Console.ReadLine());&lt;/div&gt;&lt;div&gt;Console.WriteLine("Enter second nmber");&lt;/div&gt;&lt;div&gt;inum2=Convert.ToInt32(Console.ReadLine());&lt;/div&gt;&lt;div&gt;Console.WriteLine("Enter your choice + , - , * or /");&lt;/div&gt;&lt;div&gt;ch=Convert.ToChar(Console.ReadLine());&lt;/div&gt;&lt;div&gt;switch(ch)&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;case '+' :&lt;/div&gt;&lt;div&gt;inum3=inum1+inum2;&lt;/div&gt;&lt;div&gt;Console.WriteLine("Sum is "+inum3);&lt;/div&gt;&lt;div&gt;break;&lt;/div&gt;&lt;div&gt;case '-' :&lt;/div&gt;&lt;div&gt;inum3=inum1-inum2;&lt;/div&gt;&lt;div&gt; Console.WriteLine("Difference is "+inum3);&lt;/div&gt;&lt;div&gt;break;&lt;/div&gt;&lt;div&gt;case '*' :&lt;/div&gt;&lt;div&gt;inum3=inum1*inum2;&lt;/div&gt;&lt;div&gt;Console.WriteLine("Product is "+inum3);&lt;/div&gt;&lt;div&gt;break;&lt;/div&gt;&lt;div&gt;case '/' :&lt;/div&gt;&lt;div&gt;dnum=(Double)(inum2/inum1);&lt;/div&gt;&lt;div&gt;Console.WriteLine(" Quotient is "+dnum.ToString());&lt;/div&gt;&lt;div&gt;break;&lt;/div&gt;&lt;div&gt;default :Console.WriteLine("entered a wrong choice");&lt;/div&gt;&lt;div&gt;break;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;} &lt;a href="http://2.bp.blogspot.com/_2zmsxVaIo7Y/R9ChALJvJxI/AAAAAAAAACQ/ZTGzl4BrQpw/s1600-h/symbol.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174812996214400786" style="CURSOR: hand" alt="" src="http://2.bp.blogspot.com/_2zmsxVaIo7Y/R9ChALJvJxI/AAAAAAAAACQ/ZTGzl4BrQpw/s320/symbol.bmp" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-747265845547158458?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/747265845547158458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=747265845547158458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/747265845547158458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/747265845547158458'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/arithmetic-operators-with-switch.html' title='Arithmetic operators with switch'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_2zmsxVaIo7Y/R9ChALJvJxI/AAAAAAAAACQ/ZTGzl4BrQpw/s72-c/symbol.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-5608371657171079808</id><published>2008-03-07T07:12:00.003+05:30</published><updated>2008-12-11T08:02:28.434+05:30</updated><title type='text'>switch statements</title><content type='html'>/*Now let us see the multiple selection statements ,for these pourpose we can use switch statements&lt;br /&gt;&lt;br /&gt;syntax :- switch(expression)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;case value1:&lt;br /&gt;&lt;br /&gt;body;&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case value2:&lt;br /&gt;&lt;br /&gt;body;&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case value3:&lt;br /&gt;&lt;br /&gt;body;&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;default :&lt;br /&gt;&lt;br /&gt;body;&lt;br /&gt;&lt;br /&gt;break; //executes if all other conditions are wrong....&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;&lt;br /&gt;namespace switchdemo&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;class class1&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;char ch;&lt;br /&gt;&lt;br /&gt;Console.WriteLine("enter your choice (a,b,c,d)");&lt;br /&gt;&lt;br /&gt;ch=Convert.ToChar(Console.ReadLine());&lt;br /&gt;&lt;br /&gt;switch(ch)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;case 'a' :&lt;br /&gt;&lt;br /&gt;Console.WriteLine("This is from case a");&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case 'b' :&lt;br /&gt;&lt;br /&gt;Console.WriteLine("This is from case b");&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case 'c' :&lt;br /&gt;&lt;br /&gt;Console.WriteLine("This is from case c")&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;case 'd' :&lt;br /&gt;&lt;br /&gt;Console.WriteLine("This is from case d");&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;default :&lt;br /&gt;&lt;br /&gt;Console.WriteLine("This not from the specified choice");&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_2zmsxVaIo7Y/R9CfD7JvJwI/AAAAAAAAACI/JDCE7wDJn0M/s1600-h/switch.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174810861615654658" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_2zmsxVaIo7Y/R9CfD7JvJwI/AAAAAAAAACI/JDCE7wDJn0M/s320/switch.bmp" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-5608371657171079808?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/5608371657171079808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=5608371657171079808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5608371657171079808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5608371657171079808'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/now-let-us-see-multiple-selection.html' title='switch statements'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_2zmsxVaIo7Y/R9CfD7JvJwI/AAAAAAAAACI/JDCE7wDJn0M/s72-c/switch.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-4302559399826020968</id><published>2008-03-07T07:07:00.003+05:30</published><updated>2008-12-11T08:02:28.626+05:30</updated><title type='text'>Conditional Statements</title><content type='html'>&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;/ *Now we are going to see the conditional statements in this we canspecify a particular condition for executing one or more statements &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;Syntax:-&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;if(condition)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;body&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;else if(condition)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;body&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;else{&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;body&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;span style="color:#993300;"&gt;}&lt;br /&gt;*/&lt;br /&gt;&lt;/span&gt;using System;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;namespace condition{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;class class1&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;static void Main()&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;int inum1;&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Console.WriteLine("enter a no between 1 to 100");&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;inum1=Convert.ToInt32(Console.ReadLine());&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;if (inum1&lt;=10)&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Console.WriteLine("the number you have entered is less than 10");&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;else if (inum1&gt;10&amp;amp;&amp;amp;inum1&lt;50)&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Console.WriteLine("the number you have entered is less than 50 but more than 10");&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;else&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;Console.WriteLine("the number you have entered is more than 10");&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div align="left"&gt;}&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;a href="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CdPrJvJvI/AAAAAAAAACA/9ROgkFpB2AY/s1600-h/condition.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174808864455862002" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CdPrJvJvI/AAAAAAAAACA/9ROgkFpB2AY/s320/condition.bmp" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-4302559399826020968?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/4302559399826020968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=4302559399826020968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4302559399826020968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4302559399826020968'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/conditional-statements.html' title='Conditional Statements'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2zmsxVaIo7Y/R9CdPrJvJvI/AAAAAAAAACA/9ROgkFpB2AY/s72-c/condition.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-7259722245178751014</id><published>2008-03-07T06:59:00.001+05:30</published><updated>2008-12-11T08:02:29.173+05:30</updated><title type='text'>Double...</title><content type='html'>&lt;div&gt;In this program lets see how to convert to double &lt;/div&gt;&lt;div&gt;&lt;br /&gt;using System;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;namespace doubledemo&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;class class1&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;static void Main()&lt;/div&gt;&lt;br /&gt;&lt;div&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;double inum1,inum2,add;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Console.WriteLine("enter a no");&lt;/div&gt;&lt;br /&gt;&lt;div&gt;inum1=Convert.ToDouble(Console.ReadLine());&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Console.WriteLine("enter a second no.");&lt;/div&gt;&lt;br /&gt;&lt;div&gt;inum2=Convert.ToDouble(Console.ReadLine());&lt;/div&gt;&lt;br /&gt;&lt;div&gt;add=inum1+inum2;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Console.WriteLine("Result ="+add.ToString());&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R9CbXbJvJuI/AAAAAAAAAB4/Spaggdtljmk/s1600-h/double.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174806798576592610" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R9CbXbJvJuI/AAAAAAAAAB4/Spaggdtljmk/s320/double.bmp" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-7259722245178751014?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/7259722245178751014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=7259722245178751014' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7259722245178751014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7259722245178751014'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/double.html' title='Double...'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2zmsxVaIo7Y/R9CbXbJvJuI/AAAAAAAAAB4/Spaggdtljmk/s72-c/double.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-8877662797061443403</id><published>2008-03-06T10:01:00.003+05:30</published><updated>2008-03-06T10:04:30.914+05:30</updated><title type='text'>converting to  character</title><content type='html'>&lt;p&gt;/ /converting to character .......&lt;br /&gt;&lt;/p&gt;&lt;p&gt;using System;&lt;/p&gt;&lt;p&gt;namespace nm1&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;class cl1&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;static void Main()&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;char ch;&lt;br /&gt;Console.WriteLine("enter a character");&lt;/p&gt;&lt;p&gt;ch=Convert.ToChar(Console.ReadLine());&lt;/p&gt;&lt;p&gt;Console.WriteLine("The character entered is "+ ch);&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-8877662797061443403?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/8877662797061443403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=8877662797061443403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8877662797061443403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8877662797061443403'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/converting-to-character.html' title='converting to  character'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-5450784715124290632</id><published>2008-03-06T09:29:00.001+05:30</published><updated>2008-12-11T08:02:29.632+05:30</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;/* Here we are going to add two numbers */&lt;br /&gt;using System;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;namespace nm1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;class cl1&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;static void Main()&lt;/p&gt;&lt;br /&gt;&lt;p&gt;{&lt;/p&gt;&lt;br /&gt;&lt;p&gt;int inum1,inum2,add;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Console.WriteLine("enter a no");&lt;/p&gt;&lt;br /&gt;&lt;p&gt;inum1=Convert.ToInt32(Console.ReadLine());&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Console.WriteLine("enter a second no.");&lt;/p&gt;&lt;br /&gt;&lt;p&gt;inum2=Convert.ToInt32(Console.ReadLine());&lt;/p&gt;&lt;br /&gt;&lt;p&gt;add=inum1+inum2;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Console.WriteLine("Result ="+add.ToString());&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;}&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R89x07JvJtI/AAAAAAAAABw/Mew0VGUnlyY/s1600-h/add.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174479650917656274" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R89x07JvJtI/AAAAAAAAABw/Mew0VGUnlyY/s320/add.bmp" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-5450784715124290632?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/5450784715124290632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=5450784715124290632' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5450784715124290632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5450784715124290632'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/here-we-are-going-to-add-two-numbers.html' title=''/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2zmsxVaIo7Y/R89x07JvJtI/AAAAAAAAABw/Mew0VGUnlyY/s72-c/add.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-8864364023626351821</id><published>2008-03-06T08:05:00.003+05:30</published><updated>2008-12-11T08:02:29.764+05:30</updated><title type='text'>convert To Int</title><content type='html'>&lt;p&gt;&lt;span style="color:#ff9966;"&gt;Lets try converting the program from string to int,float ,double,char&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff9966;"&gt;To interger  "Convert.ToInt32(inputed value)";&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff9966;"&gt;To  float we use   "float.Parse(inputed value)",&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff9966;"&gt;To double     "Convert.ToDouble(inputed value)",&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ff9966;"&gt; &lt;/span&gt;&lt;span style="color:#ff9966;"&gt;To Character  "Convert.ToChar(inputed value)"&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;using System;&lt;/p&gt;namespace name1&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;class cls1&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;static void Main()&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;String str;&lt;br /&gt;&lt;br /&gt;int inum;&lt;br /&gt;&lt;br /&gt;Console.WriteLine(" Enter a number");&lt;br /&gt;&lt;br /&gt;str=Console.ReadLine();&lt;br /&gt;&lt;br /&gt;inum=Convert.ToInt32(str); // Here we are converting&lt;br /&gt;&lt;br /&gt;Console.WriteLine("The numbe entred is "+inum);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R89kerJvJsI/AAAAAAAAABo/SrO0QprD0uc/s1600-h/convert.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174464975014405826" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R89kerJvJsI/AAAAAAAAABo/SrO0QprD0uc/s320/convert.bmp" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-8864364023626351821?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/8864364023626351821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=8864364023626351821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8864364023626351821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8864364023626351821'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/convert-to-int.html' title='convert To Int'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2zmsxVaIo7Y/R89kerJvJsI/AAAAAAAAABo/SrO0QprD0uc/s72-c/convert.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-7654093838256952627</id><published>2008-03-05T19:45:00.002+05:30</published><updated>2008-12-11T08:02:29.953+05:30</updated><title type='text'>Input</title><content type='html'>In this program we are discussing how to give an input . For getting the input we are using the command "Console.ReadLine()".The input we got will be in string format......&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;namespace inputdemo&lt;br /&gt;{&lt;br /&gt;class cls1&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;String str;&lt;br /&gt;Console.WriteLine(" Enter Your Name");&lt;br /&gt;str=Console.ReadLine();&lt;br /&gt;Console.WriteLine("The Name Entered is "+str);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R86sNLJvJrI/AAAAAAAAABg/it8OgAI0TpU/s1600-h/inputdemo.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5174262364227184306" style="CURSOR: hand" alt="" src="http://4.bp.blogspot.com/_2zmsxVaIo7Y/R86sNLJvJrI/AAAAAAAAABg/it8OgAI0TpU/s320/inputdemo.bmp" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-7654093838256952627?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/7654093838256952627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=7654093838256952627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7654093838256952627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7654093838256952627'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/in-this-program-we-are-discussing-how.html' title='Input'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2zmsxVaIo7Y/R86sNLJvJrI/AAAAAAAAABg/it8OgAI0TpU/s72-c/inputdemo.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-4289516493940161724</id><published>2008-03-02T12:04:00.006+05:30</published><updated>2008-12-11T08:02:30.104+05:30</updated><title type='text'>How we will get the input....</title><content type='html'>&lt;div&gt;using System;&lt;br /&gt;namespace name&lt;br /&gt;{&lt;br /&gt;class Hello&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;String str;&lt;br /&gt;Console.WriteLine(" Enter Your Name");&lt;br /&gt;str=Console.ReadLine(); //here we will get the input , it is in string type&lt;br /&gt;Console.WriteLine("Your Name is "+str);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R8pQ2SJFRqI/AAAAAAAAABQ/Q_dAD_oou1g/s1600-h/untitled.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173036015501526690" style="CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_2zmsxVaIo7Y/R8pQ2SJFRqI/AAAAAAAAABQ/Q_dAD_oou1g/s320/untitled.bmp" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-4289516493940161724?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/4289516493940161724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=4289516493940161724' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4289516493940161724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/4289516493940161724'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/how-we-will-get-input.html' title='How we will get the input....'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2zmsxVaIo7Y/R8pQ2SJFRqI/AAAAAAAAABQ/Q_dAD_oou1g/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-2578685181274431036</id><published>2008-03-02T11:59:00.001+05:30</published><updated>2008-03-02T12:03:06.904+05:30</updated><title type='text'>Hello World......</title><content type='html'>N.B : While doing the console you should be vigilent about the case...Because  c# is case sensitive&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;namespace Hello&lt;br /&gt;{&lt;br /&gt;class world&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Hello World");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-2578685181274431036?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/2578685181274431036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=2578685181274431036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/2578685181274431036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/2578685181274431036'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/hello-world.html' title='Hello World......'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-7313104630203452156</id><published>2008-03-02T10:53:00.000+05:30</published><updated>2008-03-02T11:34:36.420+05:30</updated><title type='text'>This is how console Application works,,,,</title><content type='html'>&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/4XgNxtO04uo"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/4XgNxtO04uo" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-7313104630203452156?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/7313104630203452156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=7313104630203452156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7313104630203452156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/7313104630203452156'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/this-is-how-console-application-works.html' title='This is how console Application works,,,,'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-5494802538606748612</id><published>2008-03-02T01:59:00.000+05:30</published><updated>2008-03-02T02:00:10.174+05:30</updated><title type='text'>Console</title><content type='html'>Here it is explained how to use the console application&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note:-  &lt;br /&gt;  Save the progarm with the extension .cs  (if it is csharp)&lt;br /&gt;   eg:-program.cs&lt;br /&gt;&lt;br /&gt;     To compile the program go to the visual studio and take the visual studio command promt......&lt;br /&gt;Change the control from the present folder to the folder where your program is stored&lt;br /&gt;&lt;br /&gt;Suppose ur program is at D:\paul\vcs\program.cs &lt;br /&gt;&lt;br /&gt;now to change your contorl use&lt;br /&gt;c:\visuall\v8&gt;d:  &lt;-(enter)&lt;br /&gt;d:\&gt;cd paul  &lt;-&lt;br /&gt;d:\paul&gt;cd vcs  &lt;-&lt;br /&gt;D:\paul\vcs&gt;csc progarm.cs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To run&lt;br /&gt;&lt;br /&gt;D:\paul\vcs&gt;program.exe  &lt;-&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-5494802538606748612?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/5494802538606748612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=5494802538606748612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5494802538606748612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5494802538606748612'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/console.html' title='Console'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-8508208440981665419</id><published>2008-03-02T01:33:00.001+05:30</published><updated>2008-03-02T01:35:40.480+05:30</updated><title type='text'>About Dot Net and How it works</title><content type='html'>As we Know The dot net  supports many languages Let see how it works....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The .NET initiative offers a complete suite for developing and deploying applications. The suite consists of &lt;br /&gt;.NET Products&lt;br /&gt;.NET Services and&lt;br /&gt;.NET Framework&lt;br /&gt;&lt;br /&gt;The .NET Framework:-&lt;br /&gt;&lt;br /&gt;It is the foundation on which you design, develop and deploy applications.&lt;br /&gt;&lt;br /&gt;Its consistent and simplified programming model makes it easier to build robust applications.&lt;br /&gt;&lt;br /&gt;The .NET Class Framework consists of a class library that works with any .NET language, such as Visual Basic and C#.&lt;br /&gt;This class library is build in Object-oriented nature of the runtime&lt;br /&gt;&lt;br /&gt;The .NET frame work base classes:-&lt;br /&gt;&lt;br /&gt;The .NET framework base classes consists of Namespaces and Assemblies&lt;br /&gt;Namespaces helps to create logical groups of related classes and interfaces.&lt;br /&gt;&lt;br /&gt;An Assembly is a single deployable unit that contains all the information about the implementation of classes, Structures and Interfaces&lt;br /&gt;&lt;br /&gt;COMMON LANGUAGE RUNTIME:-&lt;br /&gt;&lt;br /&gt;Common Language Runtime provides functionality such as exception handling, security, debugging and versioning support to any language that targets it. &lt;br /&gt;The CLR can execute programs written in any language.&lt;br /&gt;&lt;br /&gt;HOW IT EXECUTE:-&lt;br /&gt;&lt;br /&gt;When you compile a program developed in a language that targets the CLR, instead of compiling the source code into machine-level code, the compiler translates it into Microsoft Intermediate Language(MSIL) or Intermediate Language(IL). No matter which language has been used to develop the application it always gets translated into IL&lt;br /&gt;&lt;br /&gt;The compiler created the .EXE or .DLL file.&lt;br /&gt;When you execute the .EXE or .DLL file, the code and all the other relevant information  from the base class library is sent to the class loader.&lt;br /&gt;&lt;br /&gt;The Just In Time(JIT) compiler translates the code from IL into managed native code. The CLR supplies a JIT compiler for each supported CPU architecture.&lt;br /&gt;During the process of compilation , the JIT compiler compiles only the code that is required during execution instead of compiling the complete IL code.&lt;br /&gt;&lt;br /&gt;During JIT compilation the is also checked for type safety&lt;br /&gt;After  translating the IL into native code, the converted code is sent to the .NET runtime manager.&lt;br /&gt;&lt;br /&gt;The .NET runtime manager executes the code. While executing the code, a security check is performed to ensure that the code has the appropriate permissions for accessing the available resources&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-8508208440981665419?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/8508208440981665419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=8508208440981665419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8508208440981665419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/8508208440981665419'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/about-dot-net-and-how-it-works.html' title='About Dot Net and How it works'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-1971554140622419629</id><published>2008-03-02T01:15:00.002+05:30</published><updated>2008-03-02T11:49:23.889+05:30</updated><title type='text'>Know About Object Oriented Programming</title><content type='html'>&lt;span style="FONT-WEIGHT: bold"&gt;Object Oriented Programming(OOP's):-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Object Oriented Programming was first introduced by Dr. E F Codd in 1970’s.&lt;br /&gt;OOP concept is related to concept of Classes and Objects.The main reason for introducing the oops is to provide data security.&lt;br /&gt;&lt;br /&gt;Class :-&lt;br /&gt;&lt;br /&gt;Class is a user defined Data Type&lt;br /&gt;Class is just a Virtual concept of a collection of related items together which we cannot see or feel.&lt;br /&gt;&lt;br /&gt;Object:-&lt;br /&gt;&lt;br /&gt;Object is an Instance of a Class. We can access a Class only through its Objects.&lt;br /&gt;A thing which has the properties of a class is known as Objects.&lt;br /&gt;For eg:- Car is a Class and Benz is an Object of the class 'Car'&lt;br /&gt;An Object have it's own identity&lt;br /&gt;e.g:- From many Benz cars we identify it by its registration number&lt;br /&gt;&lt;br /&gt;The main characteristics of Object Oriented Programming are:-&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Inheritance &lt;/li&gt;&lt;li&gt;Encapsulation &lt;/li&gt;&lt;li&gt;Abstraction &lt;/li&gt;&lt;li&gt;Polymorphism &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Inheritance:-&lt;br /&gt;&lt;br /&gt;The ability of a class (Derived Class) to derive or Inherit the properties of another class (Base Class) is called Inheritance&lt;br /&gt;eg:-A child inherits Many Property from his parents But it is not necessary to inherit all the properties....&lt;br /&gt;&lt;br /&gt;Encapsulation:-&lt;br /&gt;&lt;br /&gt;It is the process of wrapping of data and functions into a single unit&lt;br /&gt;&lt;br /&gt;Process of Hiding the data from a user is called Encapsulation; also called Data Hiding.&lt;br /&gt;&lt;br /&gt;Abstraction:-&lt;br /&gt;&lt;br /&gt;The process of showing essential features without giving any explanations is known as Abstraction.&lt;br /&gt;eg:- In case of a car a Person know only how to drive the car..its gear,break and all that only essintal for driving that car&lt;br /&gt;&lt;br /&gt;Polymorphism:-&lt;br /&gt;&lt;br /&gt;Poly means 'many&lt;br /&gt;morphism means forms'&lt;br /&gt;It is the process of existing in more than one form...&lt;br /&gt;&lt;br /&gt;eg:- Behavior of a person in front of his authority and friends&lt;br /&gt;&lt;br /&gt;Here c++ ,c# and java are object oriented programs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-1971554140622419629?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/1971554140622419629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=1971554140622419629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/1971554140622419629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/1971554140622419629'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/know-about-object-oriented-programming.html' title='Know About Object Oriented Programming'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-1313317353491530712</id><published>2008-03-02T01:12:00.001+05:30</published><updated>2008-03-02T01:14:11.814+05:30</updated><title type='text'>Before we start....</title><content type='html'>Variable :-&lt;br /&gt;&lt;br /&gt;    Variable is a named memory location&lt;br /&gt;    For a variable there will be memory address&lt;br /&gt;    value  &lt;br /&gt;      e.g. :-  inum,inum1,fnum,cname;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Rules For Declaring Variables :-&lt;br /&gt;&lt;br /&gt;    A  Variable Should Start with an Alphabet &lt;br /&gt;      e.g.  a, b,a1,name&lt;br /&gt;    Key Words are not allowed&lt;br /&gt;      e.g. int,float....etc&lt;br /&gt;    No special characters are allowed&lt;br /&gt;      e.g.  @,#,!   Etc... Exception is underscore(_)&lt;br /&gt;    Numbers are allowed ....&lt;br /&gt;      e.g.  a12,b034    etc&lt;br /&gt;    Number should not be the Starting&lt;br /&gt;      e.g.  12a,13a these are wrong decleration  &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt; Data Types :-&lt;br /&gt;&lt;br /&gt;    Data type shows which type of values should a variable hold&lt;br /&gt;    There are mainly four types of basic data types&lt;br /&gt;     int  -  integer&lt;br /&gt;     float  -  floatting &lt;br /&gt;     double   -  double type value&lt;br /&gt;     char      -   character type value&lt;br /&gt;        e.g : - int a=10;   &lt;br /&gt;          float  c=15.5;&lt;br /&gt;          double  aa=10.557857;&lt;br /&gt;           char  ch=‘a’; &lt;br /&gt;             here a is a character not a variable so it is in single codes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Operator :-&lt;br /&gt;    &lt;br /&gt;       Operators are used to do perform some operations  on the variables&lt;br /&gt;&lt;br /&gt;       There are three types of operators &lt;br /&gt;       Arithmetic Operators&lt;br /&gt;       Relational     ,,&lt;br /&gt;        Logical       ,,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Arithmetic Operators :-&lt;br /&gt;&lt;br /&gt;      Arithmetic Operators are used to do mathematical operations&lt;br /&gt;       e.g .  c=a+b;&lt;br /&gt;&lt;br /&gt;     The basic arithmetic Operators are&lt;br /&gt;&lt;br /&gt;       int a,b,c;&lt;br /&gt;       +     for addition      e.g  :  c= a+b&lt;br /&gt;       -    for subtraction    e.g  : c= a-b&lt;br /&gt;       *   multiplication      e.g :  c=a*b;&lt;br /&gt;       /         division                  e.g   :  c=a/b; (5/2=2)&lt;br /&gt;       %       modulo operator   (returns remainder after division)&lt;br /&gt;                e.g :  c=(a%b);     (5%2=1)&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;  Relational Operators:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       It shows the relation between the two  variables&lt;br /&gt;        e.g : &gt;   (greater than)&lt;br /&gt;              &lt; (less than)&lt;br /&gt;              &gt;=(greater than  or equal to)                             &lt;br /&gt;              &lt;=  (less than or equal to)&lt;br /&gt;              ==(equals)&lt;br /&gt;              !=(not equal to)&lt;br /&gt;        e,g :  (a&gt;b),(a&lt;b),(a==b),(a&lt;=b),(a&gt;=b),(a!=b);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Logical Operators :&lt;br /&gt;&lt;br /&gt;       &amp;amp;&amp;amp; - Logical AND&lt;br /&gt;         e.g.(a&gt;b&amp;amp;&amp;amp;a&gt;c)&lt;br /&gt;       || - Logical OR&lt;br /&gt;         e.g.(a&gt;b||a==b)&lt;br /&gt;       ! - Logical NOT&lt;br /&gt;         e.g(!a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-1313317353491530712?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/1313317353491530712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=1313317353491530712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/1313317353491530712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/1313317353491530712'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/03/before-we-start.html' title='Before we start....'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4785863238854184099.post-5370184781419360298</id><published>2008-02-26T17:17:00.000+05:30</published><updated>2008-02-26T17:30:30.188+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='welcome'/><title type='text'>WELCOME.......</title><content type='html'>This blog is for those who are entering to the c#.net environment.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4785863238854184099-5370184781419360298?l=dotnet4beginners.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dotnet4beginners.blogspot.com/feeds/5370184781419360298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4785863238854184099&amp;postID=5370184781419360298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5370184781419360298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4785863238854184099/posts/default/5370184781419360298'/><link rel='alternate' type='text/html' href='http://dotnet4beginners.blogspot.com/2008/02/welcome.html' title='WELCOME.......'/><author><name>Paul Varghese</name><uri>http://www.blogger.com/profile/12432834350349370720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
