<?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-8587885309840568270</id><updated>2011-11-27T18:49:25.334-06:00</updated><title type='text'>C#, ASP.NET One Stop Shop</title><subtitle type='html'>Challenging Your Skill Set</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-3386794292973115985</id><published>2008-12-04T16:37:00.011-06:00</published><updated>2008-12-14T01:28:50.272-06:00</updated><title type='text'>Chapter 3: Encapsulation</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/__XFE27LSt-g/SThb521Qk9I/AAAAAAAAACg/HCYfk03fZD8/s1600-h/031408-pill.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5276068012994106322" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 299px; HEIGHT: 134px" alt="" src="http://2.bp.blogspot.com/__XFE27LSt-g/SThb521Qk9I/AAAAAAAAACg/HCYfk03fZD8/s320/031408-pill.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Encapsulation&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;The notion of encapsulation programming logic is the idea of data hiding.&lt;br /&gt;Using accessor and mutator methods we can make encapsulation, or by using properties. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;ENCAPSULATION USING PROPERTIES: &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Properties are a new feature introduced with C#. Properties in C# helps to protect a field in a class by reading and writing to it. Encapsulation can be accomplished much better with properties. Now let's see an example:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;public class Department&lt;br /&gt;{&lt;br /&gt;private string departname;&lt;br /&gt;public string Departname&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;return departname;&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;departname=value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;public class Departmentmain&lt;br /&gt;{&lt;br /&gt;public static int Main(string[] args)&lt;br /&gt;{&lt;br /&gt;Department d= new Department();&lt;br /&gt;d.departname="Speaking";&lt;br /&gt;Console.WriteLine("The Department is :{0}",d.Departname);&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");&lt;br /&gt;document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;try {&lt;br /&gt;var pageTracker = _gat._getTracker("UA-4614945-2");&lt;br /&gt;pageTracker._trackPageview();&lt;br /&gt;} catch(err) {}&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-3386794292973115985?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/3386794292973115985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=3386794292973115985' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3386794292973115985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3386794292973115985'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/12/encapsulation.html' title='Chapter 3: Encapsulation'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SThb521Qk9I/AAAAAAAAACg/HCYfk03fZD8/s72-c/031408-pill.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-2707788990490549040</id><published>2008-12-01T15:21:00.003-06:00</published><updated>2008-12-01T16:58:39.262-06:00</updated><title type='text'>Chapter 3: Conditional &amp; Switch Statements</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/__XFE27LSt-g/STRkVT7aSQI/AAAAAAAAACY/G4g7Y9bYR_g/s1600-h/IfElse.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274951380847184130" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 334px; CURSOR: hand; HEIGHT: 139px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/__XFE27LSt-g/STRkVT7aSQI/AAAAAAAAACY/G4g7Y9bYR_g/s400/IfElse.bmp" border="0" /&gt;&lt;/a&gt; &lt;strong&gt;The if &amp;amp; else if statement&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Conditional statements allows us to test to see if a specific condition is met.&lt;br /&gt;&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Type is a string");&lt;br /&gt;string input;&lt;br /&gt;input = Console.ReadLine();&lt;br /&gt;if (input == "")&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("You typed an empty string");&lt;br /&gt;}&lt;br /&gt;else if (input.Length &lt; 5)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("The string had less then 5 characters");&lt;br /&gt;}&lt;br /&gt;else if (input.Length &lt; 10)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("The string has at lease 5 but less" + "then 10 characters");&lt;br /&gt;}&lt;br /&gt;Console.WriteLine("The string was " + input);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now, there is absolutely no limit as to how many times you have to use " else if" that is entirely upto you. This exam is as simple as possible, so now lets move to something more fun...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The Switch statement&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;Another form of selection statement is the wwitch statment. It allows you to handle the program flow.  When using this also note that case values are constant, variables are not permitted. Follow the example below on  the console application to get more of handon to better understand. It's simple as self explanatory.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;class Program&lt;br /&gt;{&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("1 [C#], 2 {VB.NET]");&lt;br /&gt;Console.Write("Pick your choice: ");&lt;br /&gt;string choice = Console.ReadLine();&lt;br /&gt;int n = int.Parse(choice);&lt;br /&gt;switch (n)&lt;br /&gt;{&lt;br /&gt;case 1:&lt;br /&gt;Console.WriteLine("C# is a great powerfull language");&lt;br /&gt;break;&lt;br /&gt;case 2:&lt;br /&gt;Console.WriteLine("VB.NET is a really forgiving language");&lt;br /&gt;break;&lt;br /&gt;}&lt;br /&gt;}&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-2707788990490549040?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/2707788990490549040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=2707788990490549040' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/2707788990490549040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/2707788990490549040'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/12/chapter-3-conditional-switch-statements.html' title='Chapter 3: Conditional &amp; Switch Statements'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/STRkVT7aSQI/AAAAAAAAACY/G4g7Y9bYR_g/s72-c/IfElse.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-4125172595608189385</id><published>2008-12-01T14:19:00.003-06:00</published><updated>2008-12-01T15:17:45.086-06:00</updated><title type='text'>Chapter 3: Programming Basics / C# Iteration Constructs</title><content type='html'>&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://1.bp.blogspot.com/__XFE27LSt-g/STRHsxxTY0I/AAAAAAAAACQ/7VS5BaGP-yM/s1600-h/computer_programming.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274919898157638466" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 505px; CURSOR: hand; HEIGHT: 226px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/__XFE27LSt-g/STRHsxxTY0I/AAAAAAAAACQ/7VS5BaGP-yM/s400/computer_programming.jpg" border="0" /&gt;&lt;/a&gt; C# Iteration Constructs&lt;br /&gt;&lt;br /&gt;Almost all programming languages I have worked with will have your simple for loop, foreach statments. So, this is just something to practice little on, we will not spend too much time on it:&lt;br /&gt;&lt;br /&gt;for loop&lt;br /&gt;foreach / in loop&lt;br /&gt;while loop&lt;br /&gt;do/while loop&lt;br /&gt;&lt;br /&gt;We will now examine these looping construct in a new console application.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;for Loop&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt; &lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;With for loop you can iterate over a block of code with a fixed number of times. That being said, you are able to specify how many times a block of code repeats itself. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;One of the short cut to get a for loop statement, without even typing any code is to right click, select "Insert Snippit", then select "for", then customize your for loop. Also instead of writing out "console.wrieline", you may type &lt;strong&gt;"cw"&lt;/strong&gt; then hit tab twice.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;for (int i = 0; i &lt; 3;  i++)&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;      Console.Wireline("Your number is: {0} ", i);&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;foreach Loop&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;C#'s foreach keyword allowes you to iterate over all items within an array.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:78%;"&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;static void usingforeachloop()&lt;br /&gt;{&lt;br /&gt;string[] carTypes = { "Honda", "BMW", "Ford", "Mercedez" };&lt;br /&gt;foreach (string a in carTypes)&lt;br /&gt;Console.WriteLine(a);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;int[] myIntegers = { 10, 20, 30, 40 };&lt;br /&gt;foreach (int i in myIntegers)&lt;br /&gt;Console.WriteLine(i);&lt;br /&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;While and do/While &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;While looping construct is useful should you wish to execute a block of statements until termination condition has been reached. &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;static void Whileloop()&lt;br /&gt;{&lt;br /&gt;string userIsFinished = "";&lt;br /&gt;while (userIsFinished.ToLower() != "yes")&lt;br /&gt;{&lt;br /&gt;Console.Write("Are you finished? [Yes] [no]: ");&lt;br /&gt;userIsFinished = Console.ReadLine();&lt;br /&gt;Console.WriteLine("In while loop");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now the difference between while, and do/while loop is that, do/while loop are guarteen to execute atleast one, and incontrast while loop may not execute if the termination condition is false.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;do/while loop&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static void doWhileloop()&lt;br /&gt;{&lt;br /&gt;string userIsFinished = "";&lt;br /&gt;do&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("In do/while loop");&lt;br /&gt;Console.WriteLine("Are you done? [yes] [No]: ");&lt;br /&gt;userIsFinished = Console.ReadLine();&lt;br /&gt;}&lt;br /&gt;while&lt;br /&gt;(userIsFinished.ToLower() != "yes");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-4125172595608189385?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/4125172595608189385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=4125172595608189385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/4125172595608189385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/4125172595608189385'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/12/chapter-3-programming-basics-c.html' title='Chapter 3: Programming Basics / C# Iteration Constructs'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/STRHsxxTY0I/AAAAAAAAACQ/7VS5BaGP-yM/s72-c/computer_programming.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-1448282992991728044</id><published>2008-06-06T11:11:00.018-05:00</published><updated>2008-12-01T14:19:08.485-06:00</updated><title type='text'>Programming Languages</title><content type='html'>&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/__XFE27LSt-g/SEll4cYZsqI/AAAAAAAAABU/F0FFA5LowmU/s1600-h/matrix.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5208806464396309154" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 512px; CURSOR: hand; HEIGHT: 232px; TEXT-ALIGN: center" height="236" alt="" src="http://2.bp.blogspot.com/__XFE27LSt-g/SEll4cYZsqI/AAAAAAAAABU/F0FFA5LowmU/s320/matrix.bmp" width="441" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Hello guys,&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Before we jump into C# programming, I wanted to layout a little future plan. At the moment&lt;br /&gt;I am trying to setup information for a full blown website which should be ready early to mid next year. One of my colleague is working with me on this, so it will truly be your Programming One Stop Shop. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;Originally my intentions was just to create a C# Winform, and ASP.NET knowledge base site. Well, after giving it some thought, the idea I came up with is to &lt;strong&gt;include additional Microsoft languages.&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;So for the upcoming site, I will include not only C# WinForm, ASP.NET articles and videos, but we will also focus on "C++", "F#", "IronRuby", "IronPython". Now, the goal is to help our .NET Communities, but why not dive into whatever else is out there. From the beginning of my career, I never liked the idea of being narrow minded, so I took my time, got into .NET Programming, and obviously we all are trying to learn new things, and improve our existing knowledge. So, just learning few other languages shouldn't hurt, you just never know when those extras will come in handy. So, once again, our primary focus will be .NET, but from time to time, I will always include whatever else I get my hands on. &lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;By KamranCsharp&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-1448282992991728044?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/1448282992991728044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=1448282992991728044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/1448282992991728044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/1448282992991728044'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/06/programming-languages.html' title='Programming Languages'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SEll4cYZsqI/AAAAAAAAABU/F0FFA5LowmU/s72-c/matrix.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-625864956660080160</id><published>2008-06-04T13:49:00.011-05:00</published><updated>2008-11-12T20:59:14.862-06:00</updated><title type='text'>Chapter 3: C# programming basics</title><content type='html'>&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/__XFE27LSt-g/SEb-rLbWXJI/AAAAAAAAABE/tWyzND21QDs/s1600-h/292-C-sharp-20-Practical-1.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5208130036855889042" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 297px; CURSOR: hand; HEIGHT: 243px; TEXT-ALIGN: center" height="353" alt="" src="http://3.bp.blogspot.com/__XFE27LSt-g/SEb-rLbWXJI/AAAAAAAAABE/tWyzND21QDs/s400/292-C-sharp-20-Practical-1.JPG" width="315" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;Now, before we go further, you guys really have to read this. Lot of people think that if you know the syntax then you can program. Well guess &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;what, whenever&lt;/span&gt; you hear that, just ignore it. Obviously, whoever said that to you must be really confused.&lt;br /&gt;&lt;br /&gt;Syntax is a vital part of programming, but that's not it. When Microsoft introduced .NET, they promised that this &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;platform&lt;/span&gt;, framework will be Object Oriented from ground up. Well, that is true. If you can grasp the concept of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;OOP&lt;/span&gt; then you will really pick &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_3"&gt;up fast&lt;/span&gt;, and will love programming with passion. Once your &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;OOP&lt;/span&gt; concept is clear, then in no time, you will be able to do programming in VB6, C++, C#, VB.NET e.t.c.&lt;br /&gt;&lt;br /&gt;So, this is the most important article which you really need to understand.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Pure approach to object oriented programming:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Everything is an object. Now, I want you to think of an object as a fancy &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;variable&lt;/span&gt;, which stores data, and you can also "make requests" to that object. You can ask it to perform operations on itself. A program is a bunch of objects telling each other what to do by &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_6"&gt;sending&lt;/span&gt; messages to make a request of an object, you "Send a message" to that object. Now when I say message, think of it like a request to call a function that belongs to a particular object.&lt;br /&gt;&lt;br /&gt;Every object has a type, each object is an instance of a class, in which "class" is synonymous with "type".All objects of a particular can receive the same message. An object of type "Circle" is also an object of type "shape", a circle will always accept shape messages. So, you can write code that will talk to shapes &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;and automatically&lt;/span&gt; handle anything that fits the description of shape. This is one of the the most powerful concepts in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;OOP&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Now, before you guys go further it would be for your own &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;benefit&lt;/span&gt; to read up on objects, more in detail then what I just explained. Next posting is where all the fun begins, YES we will now get into programming.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;By KamranCsharp&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-625864956660080160?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/625864956660080160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=625864956660080160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/625864956660080160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/625864956660080160'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/06/chapter-3-c-programming-basics.html' title='Chapter 3: C# programming basics'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SEb-rLbWXJI/AAAAAAAAABE/tWyzND21QDs/s72-c/292-C-sharp-20-Practical-1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-7678072638859940188</id><published>2008-06-03T09:22:00.015-05:00</published><updated>2008-06-26T14:44:16.147-05:00</updated><title type='text'>C#, ASP.NET One Stop Shop: ASP.NET Chapters</title><content type='html'>&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://csharponestopshop.blogspot.com/2008/05/aspnet-chapters.html"&gt;C#, ASP.NET One Stop Shop: ASP.NET Chapters&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;By KamranCsharp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-7678072638859940188?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/7678072638859940188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=7678072638859940188' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/7678072638859940188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/7678072638859940188'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/06/c-aspnet-one-stop-shop-aspnet-chapters.html' title='C#, ASP.NET One Stop Shop: ASP.NET Chapters'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-2624345544671847149</id><published>2008-05-29T14:42:00.014-05:00</published><updated>2008-11-12T20:59:15.029-06:00</updated><title type='text'>Chapter 2: ASP.NET Basics</title><content type='html'>&lt;a href="http://www.scrubtheweb.com/abs/builder.html" target="_blank"&gt;META TAG Generator&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/__XFE27LSt-g/SD8JQYuiSiI/AAAAAAAAAA8/sAsHoi1vUDU/s1600-h/02fig01.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205889871383775778" style="CURSOR: hand" alt="" src="http://1.bp.blogspot.com/__XFE27LSt-g/SD8JQYuiSiI/AAAAAAAAAA8/sAsHoi1vUDU/s400/02fig01.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;ASP.NET Basics &lt;/div&gt;&lt;br /&gt;&lt;div&gt;ASP.NET pages are text files, and they have .aspx file name extension. They can Be placed on any web server equipped with ASP.NET. So now, when a client requests an ASP.NET page, what happens? Well, the web server passes the page to ASP.NET Runtime, a program that runs on the web server that is responsible for reading the page and compiling it into a .NET class. The class is then used to produce HTML that’s sent back to the user. It’s necessary to understand the ASP.NET Page Structure. Now, if you are a beginner developer, then I would highly recommend that you really understand as to what I am about to show you. I know you guys want to start coding, but if you really get this down, and search about these topics then by the time you will be coding, life will be much simple. I promise you. &lt;/div&gt;&lt;div&gt;If you liked this material then you may also want to get a book by &lt;/div&gt;&lt;div&gt;Cristian Darie &amp;amp; Zak Ruvalcaba called "Build your own ASP.NET 2.0 WEB Site". This book&lt;/div&gt;&lt;div&gt;really helped me out.&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Now let’s follow these steps: &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open Visual Studio.net, click on Create Project &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select C#, then select Web, when message opens, select ASP.NET Web Application. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Then click ok. &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;Now, let’s take a look at the Source. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;Now these are just very basic which you need to know again before you even think about coding. Also post your comments, and ask questions if you need to know more in depth regarding what Directives exactly are, or Code render blocks e.t.c.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;By KamranCsharp&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-2624345544671847149?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/2624345544671847149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=2624345544671847149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/2624345544671847149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/2624345544671847149'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/05/chapter-2-aspnet-basics.html' title='Chapter 2: ASP.NET Basics'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SD8JQYuiSiI/AAAAAAAAAA8/sAsHoi1vUDU/s72-c/02fig01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-3743026350168334735</id><published>2008-05-28T10:58:00.015-05:00</published><updated>2008-11-12T20:59:15.140-06:00</updated><title type='text'>1. Intro to ASP.NET and .Net Platform</title><content type='html'>&lt;a href="http://www.scrubtheweb.com/abs/builder.html" target="_blank"&gt;META TAG Generator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/__XFE27LSt-g/SFgRBdy5XPI/AAAAAAAAABw/IDu6sJQBopk/s1600-h/Logo_Large.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5212935285556993266" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 243px; CURSOR: hand; HEIGHT: 168px" height="184" alt="" src="http://1.bp.blogspot.com/__XFE27LSt-g/SFgRBdy5XPI/AAAAAAAAABw/IDu6sJQBopk/s400/Logo_Large.jpg" width="185" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Chapter 1&lt;/strong&gt;&lt;br /&gt;Intro to ASP.NET and .NET Platform&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Microsoft .NET Framework is a new computing platform for developing &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;distributed applications. It's an object-oriented framework for defining application, and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;one of the most exciting web development technologies on the market today. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;ASP.NET is a server side technology for developing web applications based on the&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;Microsoft .NET Framework.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Early in 2002 Microsoft released new technology for Internet development called ASP.NET. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;ASP.NET is a new version of Classic ASP(Active Server Page). It continues to offer flexiblity in terms of language support, range of simple scripting languages, several fully-fledged programming languages. Development in ASP.NET required not only an understanding of HTML and web design, but also a firm grasp of the concepts of &lt;strong&gt;object oriented programming&lt;/strong&gt; and development. When you learn programming in the .NET Framework, you can use your skills in developing different types of applications such as desktop applications, Web applications, and Web services. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;.NET Framework is desinged to be object-oriented from the ground up. Before we go further &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;with web applications, you should know just a few terms such as &lt;strong&gt;Class, Inheritance, Namespace,&lt;/strong&gt; and so on. This will be important right from the beginning. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;Classes&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;A Class is a reference type that encapsulates data (such as constants and fields) and defines its behavior using programming constructs such as methods, properties, contrctors, and events. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Some beginners don't care about understanding it clearly so I think they will have a hard time learning C#.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;A CLASS is nothing more than a blueprint of on object. And an object is nothing more than a &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;"virtual" representation of a CLASS. And when we say &lt;strong&gt;Instantiate&lt;/strong&gt; and object or class, we mean to create the object in memory. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Lets look at a real world example. ( This is also the very first example I learned. )&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;The class will be a &lt;strong&gt;Book&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;Like anty blueprint, it will contain the attributs of the object it describes. So every book has a name or title, an author, and number of pages. &lt;/span&gt;&lt;br /&gt;Class Book&lt;br /&gt;Title&lt;br /&gt;Author&lt;br /&gt;Pages&lt;br /&gt;&lt;br /&gt;If I were to instantiate a book( create one ) that class definination ( or blueprint for the object)&lt;br /&gt;requires you to provide the Title, Author and Pages, for that book object.&lt;br /&gt;&lt;br /&gt;class Book&lt;br /&gt;{&lt;br /&gt;string m_Title;&lt;br /&gt;string m_Author;&lt;br /&gt;string m_Pages;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Inheritance&lt;/strong&gt;&lt;br /&gt;Inheritance simply means, reusing the interface of the base class. It allows you to create new types based on types that already exist. The original type is called &lt;strong&gt;base class&lt;/strong&gt;, and the inherited class is called a &lt;strong&gt;derived class&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Now, this example which I am about to show was taken from codeproject.com, but I have&lt;br /&gt;tried to simplify even more.&lt;br /&gt;&lt;br /&gt;When you derive a class from a base class, the derived class will inherit all members of the base class except constructors, though whether the derived class would be able to access those members would depend upon the accessibility of those members in the base class. C# gives us &lt;strong&gt;polymorphism&lt;/strong&gt; through &lt;strong&gt;inheritance&lt;/strong&gt;. Inheritance-based polymorphism allows us to define methods in a base class and override them with derived class implementations. Thus if you have a base class object that might be holding one of several derived class objects, polymorphism when properly used allows you to call a method that will work differently according to the type of derived class the object belongs to.&lt;br /&gt;&lt;br /&gt;Now lets take a look at the following class, this will be our base class.&lt;br /&gt;Guys, reading this will not do any good, untill you dont actually do the examples.&lt;br /&gt;&lt;br /&gt;1. Open Visual Studio 2005.&lt;br /&gt;2. Click on Create Project.&lt;br /&gt;3. Click on Visual C#, then click on "Console Application".&lt;br /&gt;4. After the console application open, right click on the bold letters "&lt;strong&gt;ConsoleApplication&lt;/strong&gt;"&lt;br /&gt;5. From the menu after you right click it, select "Add". Then from drop down list, select class.&lt;br /&gt;6. Then change the name from Class.cs, to Car.cs.&lt;br /&gt;&lt;br /&gt;Car.cs will be our base class, here we go now.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;br /&gt;namespace ConsoleApplication1&lt;br /&gt;{&lt;br /&gt;class Car&lt;br /&gt;{&lt;br /&gt;public Car()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Car constructor");&lt;br /&gt;}&lt;br /&gt;public void Feature()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Car has sports tires");&lt;br /&gt;}&lt;br /&gt;public void Speed()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Car is Fast");&lt;br /&gt;}&lt;br /&gt;public virtual void Door()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Car has 2 doors");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now lets see how we can derive another class from this base class.&lt;br /&gt;&lt;br /&gt;1. Now let save this, and lets click on your "Program.cs".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Text;&lt;br /&gt;namespace ConsoleApplication1&lt;br /&gt;{&lt;br /&gt;class Honda : Car&lt;br /&gt;{&lt;br /&gt;public Honda()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Honda constructor");&lt;br /&gt;}&lt;br /&gt;public new void Feature()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Honda has sports tires");&lt;br /&gt;}&lt;br /&gt;public override void Door()&lt;br /&gt;{&lt;br /&gt;Console.WriteLine("Honda has 2 doors");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;On the bottom, try this code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;Car c1 = new Car();&lt;br /&gt;c1.Feature();&lt;br /&gt;c1.Speed();&lt;br /&gt;c1.Door();&lt;br /&gt;&lt;br /&gt;// Output&lt;br /&gt;Car constructor&lt;br /&gt;Car has sports tires&lt;br /&gt;Car is Fast&lt;br /&gt;Car has 2 doors&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now, let try this code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;static void Main(string[] args)&lt;br /&gt;{&lt;br /&gt;Car c2 = new Honda();&lt;br /&gt;c2.Feature();&lt;br /&gt;c2.Speed();&lt;br /&gt;c2.Door();&lt;br /&gt;&lt;br /&gt;// Output&lt;br /&gt;&lt;br /&gt;Car constructor&lt;br /&gt;Honda constructor&lt;br /&gt;Car has sports tires&lt;br /&gt;Car is Fast&lt;br /&gt;Honda has 2 doors&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;We have an object type Car, but we are now references an object of type Honda. Base class&lt;br /&gt;constructor getting called first followed by the derived class contructor.&lt;br /&gt;Now when we call Door(), we find that the derived class method has got called. This is because in the base class the method is prototyped as public virtual void Door() and in the derived class we have overridden it by using public override void Sing().&lt;br /&gt;&lt;br /&gt;So, now you guys have just a little idea as far as what Inheritance is.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Namespace:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;As ASP.NET is part of the .NET Framework, we have access to all the goodies that are built into&lt;br /&gt;the form of the .NET Framework Class Library. So, when we have to use a feature that .NET&lt;br /&gt;provides, we only have to find a namespace into our ASP.NET page. Once we have done that, we can make use of the .NET classes in that namespace to achieve our own ends.&lt;br /&gt;&lt;br /&gt;For example, if we wanted to access a database from a page, we would import the name that contains classes for the purpose, so in this case I would use " System.Data.SqlClient ".&lt;br /&gt;&lt;br /&gt;Guys after you do the examples provided, and read up on this article, you would want to practice a little more before you move on to Chapter 2. Obviously, you are not an expert at this point, but a little patience will come with a greater reward. &lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;By KamranCsharp &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-3743026350168334735?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/3743026350168334735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=3743026350168334735' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3743026350168334735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3743026350168334735'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/05/1-intro-to-aspnet-and-net-platform.html' title='1. Intro to ASP.NET and .Net Platform'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SFgRBdy5XPI/AAAAAAAAABw/IDu6sJQBopk/s72-c/Logo_Large.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8587885309840568270.post-3965820042902863590</id><published>2008-05-28T10:29:00.013-05:00</published><updated>2008-06-26T14:43:42.783-05:00</updated><title type='text'>ASP.NET Chapters</title><content type='html'>&lt;a href="http://www.scrubtheweb.com/abs/builder.html" target="_blank"&gt;META TAG Generator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;a href="http://freewebsubmission.com/"&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hello Everyone,&lt;br /&gt;&lt;br /&gt;Here is the basic layout I will use to simplify things.&lt;br /&gt;&lt;br /&gt;1. Intro to asp.net and .net platform&lt;br /&gt;2. Asp.net basics&lt;br /&gt;3. C# programming basics&lt;br /&gt;4. Controls&lt;br /&gt;5. Error Handling&lt;br /&gt;6. Logging in&lt;br /&gt;7. Security and user authentication&lt;br /&gt;8. SQL Basics&lt;br /&gt;9. ADO.NET Basics&lt;br /&gt;10. Creating Components and Assemblies&lt;br /&gt;11. Web Services&lt;br /&gt;12. Globalization&lt;br /&gt;13. Deploying a Web Application&lt;br /&gt;&lt;br /&gt;I will try for now just to keep things really simple. This way it will be easy to move&lt;br /&gt;from beginning level to advance.&lt;br /&gt;&lt;br /&gt;By KamranCsharp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8587885309840568270-3965820042902863590?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/3965820042902863590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=3965820042902863590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3965820042902863590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/3965820042902863590'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/05/aspnet-chapters.html' title='ASP.NET Chapters'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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-8587885309840568270.post-1098469983721141249</id><published>2008-04-16T07:56:00.022-05:00</published><updated>2008-11-12T20:59:15.347-06:00</updated><title type='text'>Hello Coders</title><content type='html'>&lt;a href="http://www.addme.com/"&gt;Search Engine Optimization - AddMe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.scrubtheweb.com/abs/builder.html" target="_blank"&gt;META TAG Generator&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Technology Blogs - BlogCatalog Blog Directory" href="http://www.blogcatalog.com/directory/technology"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" alt="Technology Blogs - BlogCatalog Blog Directory" src="http://www.blogcatalog.com/images/buttons/blogcatalog5.gif" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img height="31" alt="Submit Your Site To The Web's Top 50 Search Engines for Free!" src="http://freewebsubmission.com/images/fwsbutton10.gif" width="88" border="0" /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/__XFE27LSt-g/SE7_XVE-XuI/AAAAAAAAABo/eJvr-lqDoAc/s1600-h/Main.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5210382595174325986" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 335px; CURSOR: hand; HEIGHT: 108px; TEXT-ALIGN: center" height="120" alt="" src="http://4.bp.blogspot.com/__XFE27LSt-g/SE7_XVE-XuI/AAAAAAAAABo/eJvr-lqDoAc/s400/Main.jpg" width="253" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a title="Subscribe using any feed reader!" href="http://www.addthis.com/feed.php?pub=crazeecom1515&amp;amp;h1=http%3A%2F%2Fcsharponestopshop.blogspot.com&amp;amp;t1="&gt;&lt;img height="24" alt="AddThis Feed Button" src="http://s9.addthis.com/button2-rssfeed.png" width="160" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zimbio.com/member/crazeecom1515"&gt;&lt;img title="My Zimbio" alt="My Zimbio" src="http://www.zimbio.com/images/badges/badgeBlue.png?u=crazeecom1515" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a style="MARGIN-TOP: 2px; DISPLAY: block; PADDING-LEFT: 6px; FONT-SIZE: 11px; COLOR: #244366" href="http://www.zimbio.com/member/crazeecom1515/kudos"&gt;KudoSurf Me! &lt;/a&gt;&lt;br /&gt;KamranCsharp&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/__XFE27LSt-g/SD7Ab4uiSfI/AAAAAAAAAAk/HDGF5PaGn6Y/s1600-h/aa718325.1455_hero_012807.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5205809804603443698" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" height="67" alt="" src="http://2.bp.blogspot.com/__XFE27LSt-g/SD7Ab4uiSfI/AAAAAAAAAAk/HDGF5PaGn6Y/s400/aa718325.1455_hero_012807.jpg" width="433" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;The idea is to have almost all easy to follow examples for all C# needs.&lt;br /&gt;&lt;br /&gt;From beginning to Advance Level. I have never found any easy site for a beginner developer. Well, the idea is to get it started.&lt;br /&gt;&lt;br /&gt;I am C# Developer. And I love to teach, and share my knowledge with others. I love helping out our .Net communities.&lt;br /&gt;&lt;br /&gt;Well guys, I will start posting soon. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Check the section with chapters.&lt;br /&gt;Good luck, and hope this site can benefit all C# Developers.&lt;br /&gt;After couple of months, I will get a full blown website, and plan to have several video sessions included.&lt;br /&gt;&lt;br /&gt;Thanks, &lt;/div&gt;&lt;br /&gt;&lt;div&gt;By Kamrancsharp&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/8587885309840568270-1098469983721141249?l=csharponestopshop.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://csharponestopshop.blogspot.com/feeds/1098469983721141249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8587885309840568270&amp;postID=1098469983721141249' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/1098469983721141249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8587885309840568270/posts/default/1098469983721141249'/><link rel='alternate' type='text/html' href='http://csharponestopshop.blogspot.com/2008/04/hello-coders.html' title='Hello Coders'/><author><name>KamranCSharp</name><uri>http://www.blogger.com/profile/09662508727655030040</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/__XFE27LSt-g/SE7_XVE-XuI/AAAAAAAAABo/eJvr-lqDoAc/s72-c/Main.jpg' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
