<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7981840254185713367</id><updated>2024-09-23T02:32:01.609+02:00</updated><title type='text'>Learning Dot Net with me</title><subtitle type='html'>This blog is where I will share all my Dot Net experiences, give assistance and exchange ideas.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-966752527637384737</id><published>2010-02-26T14:21:00.005+01:00</published><updated>2011-01-27T18:30:38.768+01:00</updated><title type='text'>Object Oriented Programming Basics(OOP)</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;O&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;bject Oriented Programming (OOP)is a recent approach to creating powerful &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a class=&quot;kLink&quot; href=&quot;http://www.indiastudychannel.com/resources/107219-Object-Oriented-Programming-Basics-OOP.aspx#&quot; id=&quot;KonaLink2&quot; style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; position: static; text-decoration: underline ! important;&quot; target=&quot;undefined&quot;&gt;&lt;span style=&quot;font-weight: 400; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;font-weight: 400; position: relative;&quot;&gt;computer &lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;font-weight: 400; position: relative;&quot;&gt;applications&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt; which tends to solve the problem of procedural programming that have been in existence for long and making all functionality of a program to be in a module. The emergence of OOP has made modular method of programming popular as it gives much more flexibility opportunity for programmers.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;It is programming methodology that utilizes objects to carry out functionality. This special functionality see objects or mimic them as real life entities. OOP organized object instead of actions that are also arranged around data rather than logics. As the name implies OOP is achieved using objects.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;The real life illustration of OOP advantage can be given as follows: Assuming you have a car, the car is seen as a single unit with the old way of programming(procedural). If you want to improve or upgrade this car, then you will need to replace or change the whole unit by sending it back to the manufacturer or find an expert for the upgrade. But with the OOP you can simply buy the unit or part of the car that need upgrade from the manufacturer and follow their instruction to replace it yourself without need to take the whole car for the upgrade.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;b style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; Advantages of OOP &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;1. With OOP the programs are organized around objects performing the actions;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;2. Program are no longer dependent on linear logic;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;3. It is easy and can be updated safely;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;4. Programs relate to real life actions;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;5. It makes code reuse as an acceptable action in programming; and&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;6. It provides agreement on the structure and usage of more abstract entities.&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; font-size: small;&quot;&gt;To read more check my blog on Dot Net @ &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://phemmydotnet.blogspot.com/&quot; style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; Learning Dot Net with Me&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot; style=&quot;color: darkblue;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Olufemi &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/966752527637384737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/966752527637384737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/966752527637384737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/966752527637384737'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2010/02/object-oriented-programming-basicsoop.html' title='Object Oriented Programming Basics(OOP)'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-4721811956527008500</id><published>2010-02-26T01:27:00.002+01:00</published><updated>2011-01-27T18:31:11.117+01:00</updated><title type='text'>Steps in creating a .NET Application</title><content type='html'>&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The .Net framework is a strong platform for designing robust and very powerful applications. stated as follows are steps that are involved in designing application using .Net framework:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1. Application code is written using a .Net compatible language such as VB, C# or C++;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2. The code written is then complied into Microsoft Intermediate Language (MSIL);&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;3. When the code is executed, it must first be compiled into native code using Just-In-Time (JIT) compiler; and&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;4. The native code is executed in the context of the managed Common Language Runtime (CLR) along with other running application or processes.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Olufemi &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/4721811956527008500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/4721811956527008500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/4721811956527008500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/4721811956527008500'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2010/02/steps-in-creating-net-application.html' title='Steps in creating a .NET Application'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-1100591252861349887</id><published>2010-02-23T09:08:00.001+01:00</published><updated>2011-01-27T18:22:54.239+01:00</updated><title type='text'>Using the .NET Framework for Desinging Apllications</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Writing an application using the .Net means writing code (using any of the languages that support the framework) using the .Net code library.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Visual studio which is the package where one can have full access to all the .net framework capabilities; is a powerful Integrated Development Environment(IDE) that support visual C#, Visual Basic(VB), and visual C++. Visual studio expression edition in C#,VB, and C++ are free and you can download it free of charge from &lt;a href=&quot;http://msdn.microsoft.com/vstudio/express/default.aspx&quot;&gt;Microsoft Visual Studio 2008 Express Editions Download.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The advantage of these environments is the ease with which .Net features can be integrated into your code. For instance, For C# code to execute, it must be converted into a language that the target operating system understands, known as native code. This conversion is called compiling code.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Read more on my online Community I&lt;a href=&quot;http://www.indiastudychannel.com/sites/27/-IT-Certification-Companion.aspx&quot;&gt;T Certification Companion&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Olufemi&lt;/b&gt; &lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/1100591252861349887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/1100591252861349887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/1100591252861349887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/1100591252861349887'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2010/02/using-net-framework-for-desinging.html' title='Using the .NET Framework for Desinging Apllications'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-9036420805337374958</id><published>2010-02-23T08:37:00.002+01:00</published><updated>2011-01-27T18:23:33.297+01:00</updated><title type='text'>What is the .Net Technology?</title><content type='html'>&lt;div style=&quot;color: black; text-align: justify;&quot;&gt;&lt;span class=&quot;v11&quot; id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The technology contains many concepts that are tricky to come to grips with initially. The .Net framework is a new and revolutionary platform created by Microsoft for developing applications. Although the Microsoft release of .Net framework runs on the windows operating system, it is fast becoming possible to find alternative versions that will work on other systems.&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Also, one can use the Microsoft .Net compact framework on Personal Digital Assistant (PDA) class devices and even some smartphone. The .Net framework allows the creation of windows applications, web applications, web services and pretty much anything else one can think of.&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;b style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; What is in the .Net Framework? &lt;/b&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The .Net framework consist primarily of a gigantic library of code that one can use in client language using Object Oriented Programming (OOP) techniques. The library is categorized in to different modules you can use portions of it depending on the results you intend to achieve.&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Part of the .Net framework library defines some basic types. A type is a representation of data and specifying some of the most fundamental of these(such as a 32-bit signed integer) facilitates interoperability between language using the .Net framework. This is called Common Type System (CTS).&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;The .Net framework also includes the .Net Common Language Runtime(CLS) which is responsible for maintaining the execution of all applications developed using the .Net library.&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;br style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;This is my learning note on dot net technology using VB and C#. You will learn a lot if you can keep a date with me on my online Community&lt;/span&gt;&lt;a href=&quot;http://www.indiastudychannel.com/sites/27/-IT-Certification-Companion.aspx/&quot; style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; IT Certification companion&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;v11&quot; id=&quot;ctl00_ContentPlaceHolder1_lblDescription&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Olufemi &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/9036420805337374958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/9036420805337374958' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/9036420805337374958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/9036420805337374958'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2010/02/what-is-net-technology.html' title='What is the .Net Technology?'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-3514597737667228379</id><published>2008-08-05T15:47:00.005+02:00</published><updated>2011-01-27T18:27:24.035+01:00</updated><title type='text'>C# Flow Control</title><content type='html'>&lt;div style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;There are two methods of controlling program flow discussed in this section of our learning.&lt;br /&gt;
These are :&lt;/div&gt;&lt;ol style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Branching&lt;/span&gt; : This is where code are executed conditionally depending on the outcome of an evaluation such as &quot;only execute this code if myVal is less than 10&quot;.&lt;/li&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt; &lt;/span&gt;
&lt;li&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Looping&lt;/span&gt; :This is repeatedly executing the same statement( for a certain number of times or until a test condition has been reached)&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;Boolean comparisons require the sue of Boolean comparison operators( also known as relational operators). In the examples below var1 is a bool type variable, while the type of var2 and var3 may vary.&lt;br /&gt;
&lt;br /&gt;
1.  ==  (var1=var2 ==var3;) var1 is true if var2 is equal to var3 or false otherwise.&lt;br /&gt;
2.  !=  (var1=var2 != var3;) var1 is true if var2 is not equal to var3 or false otherwise.&lt;br /&gt;
3. &amp;lt;    ( var1= var2 &amp;lt; var3;)  var1 is true if var2 is less than var3 or false otherwise.&lt;br /&gt;
4. &amp;gt;    ( var1= var2 &amp;gt; var3;) var1 is true if var2 is greater than var3 or false otherwise.&lt;br /&gt;
5. &amp;lt;= (var1 = var2 &amp;lt;= var3:) var1 is true if var2 is less or equal to var3 or false otherwise. 6. &amp;gt;=  (var1 = var2&amp;gt;=var3;)  var1 is true if var2 is greater or equal to var3 or false otherwise.&lt;br /&gt;
&lt;br /&gt;
You might use operators such as these on numeric values in code such as :&lt;br /&gt;
&lt;br /&gt;
bool  isLessThan10;&lt;br /&gt;
&lt;br /&gt;
isLessThan10=myVal &amp;lt; 10; This code result will be true if myVal store a value less than 10 or false otherwise.  You can also use these compariosn operators on their types, such as strings:  bool isKarli; isKarli =myString==&quot;Karli&quot;;  In this example isKarli will only be true if myString stores the string &quot;Karli&quot;&lt;br /&gt;
&lt;br /&gt;
There are some other Boolean operators that are intended specifically for working with Boolean values, shown below:&lt;br /&gt;
1.  !  (var1 =! var2;) var1 is true if var2 is false or false if var2 is true (Logical NOT);&lt;br /&gt;
2. &amp;amp;  (va1= var2 &amp;amp; var3;) var1 is true if var2 and var3 are both true or false otherwise (Logical AND);&lt;br /&gt;
3. | (var1= var2 | var3;) var1 is true if either var2 or var3 or both are true or false otherwise (Logical OR); and&lt;br /&gt;
4. ^ (var1 = var2 ^ var3;) var1 is true if either var2 or var3 but not both, are true or false otherwise (Logical XOR or exclusive OR).&lt;br /&gt;
&lt;br /&gt;
The &amp;amp; and | operators also have two similar operators, known as conditional Boolean operators, as shown below:&lt;br /&gt;
1. &amp;amp;&amp;amp;  (var1 = var2 &amp;amp;&amp;amp; var3;) var1 is true if var2 and var3 are both true or false otherwise (Logical AND) and&lt;br /&gt;
&lt;br /&gt;
2. ||  (var1 = var2||var3;) Var1 is true if either var2 or var3 (or both) are true or false otherwise.  The use of &amp;amp;&amp;amp; and || aid better performance than &amp;amp; and | so always use &amp;amp;&amp;amp; and || where possible.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Olufemi   &lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/3514597737667228379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/3514597737667228379' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3514597737667228379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3514597737667228379'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2008/08/c-flow-control.html' title='C# Flow Control'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-4559779626528161122</id><published>2008-08-04T11:58:00.004+02:00</published><updated>2011-01-27T18:28:28.929+01:00</updated><title type='text'>C# Variable</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;All Data in a computer is effectively the same thing(a series of zeros &amp;amp; one). Variables are of different types. Using a box analogy to explain variables; one can assume variables in computer memory as boxes sitting on a shelf. One can imagine that your boxes come in different shapes &amp;amp; sizes and some things will only fit in certain boxes. According to this analogy different types of data may require different methods of manipulation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;To use variables you have to declare them. This means that you have to assign them a name and a type. If this is done the variable can be used as storage units for the type of data that you declare them to hold. C# syntax for declaration of variable and type is:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;(type) (name);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;If any variable is not declared your code will not compile. There are certain types of data that just about everyone will want to use at one time or the other such as a variable that stores a number. There are a number of simple, predefined types that one should be aware of:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Type&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;sbyte                     &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;byte                      &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;short                     &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Ushort                  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int                         &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Uint                      &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;long                      &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Ulong                   &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;float                      &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;double                  &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;decimal                &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;char                      &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;bool                       &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;string                    &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;It should be noted that string has no upper limit on the amount of characters because it can use varying amount of memory; while boolean type bool is one of the most commonly used variable type in C#.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Example of variable declaration&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1. Create a new console Application&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;2. Add the following code to program.cs&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Static void Main(string [] args)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int myInteger;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;string myString;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;myInteger=17;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;myString= &quot;\&quot;my Integer\&quot; is &quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Console. writeline (&quot;{0} {1}.&quot;, mySrting, myInteger);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;console.Readkey();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;3. Execute the code&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Variable Naming&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The basic variable naming rules are:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The first character of a variable name must be either a letter or underscore(_), or the at(@) symbol.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Subsequent characters may be letters, underscore characters or numbers.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;e.g.  myBigVar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;VAR1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;_test&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;@test&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;While these are wrong&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;99Bottlesof Beer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;namespace&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;It&#39;s-All-Over&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;These are wrong because of some certain keywords that have a specialized meaning to the C# compiler such as namespace while others are number and case sensitivity.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Furthermore, one can have multiple variables whose names differ only in case, such as the ones below:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;myVariable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;MyVariable&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;MYVARIABLE&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Naming Conventions&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Over the years different systems have come and gone while some developers fought tooth and nail to justify their own system of naming.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Hungarian notation is recently known as the most popular system. This entails placing a lower case prefix on all variable names that identifies the type. For instance, if a variable were of type int then you might place an i (or n) in front of it such as in iAge. Adopting this system, it will be easy to see it at a glance what types different variables are.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Currently, there are two naming conventions in use in the .Net framework namespace; they are:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;(a) PascalCase e.g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Age&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;LastName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;WinterOfDiscontent&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;(b) camelCase e.g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;age&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;firstName&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;timeOfDeath&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;For simple variable use camelCase but for advanced naming use PascalCase which is the Microsoft recommendation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Variable Declaration &amp;amp; Assignment&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Recall that declaration of variable entails using their type and name e.g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int Age;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Then assign values to variable using (=) assignment operator&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;age=25;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Declaring multiple variables of the same type at the same time can be done uing commas to separate the variables e.g.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int xSize, ySize;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;i.e. xsize and ysize are both declared as integer types.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;The second method you are likely to see in assigning values to variables at the same time as declaring them can be:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int age=25;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;You can also use both methods together.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;int xSize=4, ySize=5;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Olufemi&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/4559779626528161122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/4559779626528161122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/4559779626528161122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/4559779626528161122'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2008/08/c-variable.html' title='C# Variable'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-8879124547004820403</id><published>2008-08-02T15:11:00.003+02:00</published><updated>2011-01-27T18:28:51.444+01:00</updated><title type='text'>Basic C# Syntax</title><content type='html'>&lt;div style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;C# code is similar to that of C++ and Java. Initially the syntax can look quite confusing and is lot less like written English than some other languages. C# compilers take no notice of additional spacing in code, whether made up spaces, carriage returns or tab characters. Meaning that one have a lot of freedom in the way that on will format code; though conforming to certain rules which can make the codes easier to read.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;C# code is made up of a series of statements, each of which is terminated with semicolon(;), so you don&#39;t have multiple statements on one line, but for readability&#39;s sake it is usual to add carriage return after semicolons.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;C# is a block-structured language, meaning that all statements are part of a block of code. These blocks, which are represented with curly brackets({ &amp;amp; }), may contain any number of statements or none at all. it should noted that the curly bracket does not require semicolons.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Example 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;    {&lt;/span&gt;&lt;br /&gt;
&lt;code style=&quot;font-family: trebuchet ms;&quot;&gt;code line1, statement1;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;/code&gt;&lt;code style=&quot;font-family: trebuchet ms;&quot;&gt;code line2, statement2;&lt;/code&gt;&lt;br /&gt;
&lt;code style=&quot;font-family: trebuchet ms;&quot;&gt;code line3, statement3;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;    }&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Another important thing often seen in C# code is comments. Comments are descriptive text to your codes in plain Language(English), which is ignored by the compiler.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;The first method of signifying comment is using this symbol (*/)&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: trebuchet ms; font-size: 130%; font-weight: bold;&quot;&gt;&lt;br /&gt;
Example 2&lt;/span&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;   /* This is a comment*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;The second method is using //, with this approach you can write whatever you like provided you keep to one line!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;  &lt;span style=&quot;font-family: trebuchet ms; font-size: 130%; font-weight: bold;&quot;&gt;Example 3&lt;/span&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt; //This is a different sort of comment.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;The next example show case how to comment can be used on the same line with a code;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;a href=&quot;&quot;&gt;&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Statement; // explanation of statement.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;It is pertinent to not that C# code is case sensitive. Unlike some other languages as code must be entered using the right case because using wrong case will prevent a project from compiling.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Olufemi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/a&gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/8879124547004820403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/8879124547004820403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/8879124547004820403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/8879124547004820403'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2008/08/basic-c-syntax.html' title='Basic C# Syntax'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-3306807076818367514</id><published>2008-08-02T13:23:00.002+02:00</published><updated>2011-01-27T18:29:12.631+01:00</updated><title type='text'>Kind of Application you can Design with C#</title><content type='html'>&lt;div style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;C# uses the Framework and so also has no restrictions on possible applications. However, here are a few of the more common application types:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Windows Applications: These are applications, such as Microsoft Office, which have a familiar Windows look and feel about them. This is made simple by using the Windows Forms module of the .NET Framework, which is a library of controls (such as buttons, toolbars, menus, and so on) that you can use to build a Windows user interface (UI).&lt;br /&gt;
&lt;br /&gt;
Web Applications: These are Web pages such as might be viewed through any Web browser. the .NET Framework includes a powerful system of generating Web content dynamically, allowing personalization, security, and much more. This system is called ASP.NET (Active Server Pages .NET), and you can use C# to create ASP.NET applications using Web Forms.&lt;br /&gt;
&lt;br /&gt;
Web Services: These are a new and exciting way of creating versatile distributed applications. Using Web services you can exchange virtually any data over the Internet, using the same simple syntax regardless of the language used to create a Web service or the system that it resides on.&lt;br /&gt;
&lt;br /&gt;
Any of these types may also require some form of database access, which can be achieved using the ADO.NET (Active Data Objects .NET) section of the .NET Framework. Many other resources can be drawn on, such as tools for creating networking components, outputting graphics, performing complex mathematical tasks, and so on.&lt;br /&gt;
&lt;br /&gt;
Olufemi&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/3306807076818367514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/3306807076818367514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3306807076818367514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3306807076818367514'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2008/08/kind-of-application-you-can-design-with.html' title='Kind of Application you can Design with C#'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7981840254185713367.post-3686963996537108077</id><published>2008-08-02T12:12:00.002+02:00</published><updated>2011-01-27T18:29:28.051+01:00</updated><title type='text'>Learning C# with me</title><content type='html'>&lt;span style=&quot;font-size: 130%;&quot;&gt;&lt;span style=&quot;font-family: arial; font-weight: bold;&quot;&gt;What is C#?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: trebuchet ms; text-align: justify;&quot;&gt;C#, as mentioned earlier, is one of the languages that can be used to create applications that will run in the .NET CLR. It is an evolution of the C and C++ languages and has been created by Microsoft specifically to work with the .NET platform. Because it is a recent development, the C# language has been designed with hindsight, taking into account many of the best features from other languages, while clearing up their problems.&lt;br /&gt;
&lt;br /&gt;
Developing applications using C# is simpler than using C++, because the language syntax is simpler. However, C# is a powerful language, and there is little you might want to do in C++ that you can&#39;t do in C#.&lt;br /&gt;
At times, C# code is slightly more verbose than C++. This is a consequence of C# being a type-safe language (unlike C++).C# is just one of the languages available for .NET development, but in my opinion it is certainly the best. It has the advantage of being the only language designed from the ground up for the .NET Framework and may be the principal language used in versions of .NET that are ported to other operating systems.&lt;br /&gt;
&lt;br /&gt;
To keep languages such as the .NET version of Visual Basic as similar as possible to their predecessors yet compliant with the CLR, certain features of the .NET code library are not fully supported. By contrast, C# is able to make use of every feature that the .NET Framework code library has to offer. The latest version of .NET includes several improvements to the C# language, partly in response to requests from developers, making it even more powerful.&lt;br /&gt;
&lt;br /&gt;
Olufemi&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://phemmydotnet.blogspot.com/feeds/3686963996537108077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7981840254185713367/3686963996537108077' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3686963996537108077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7981840254185713367/posts/default/3686963996537108077'/><link rel='alternate' type='text/html' href='http://phemmydotnet.blogspot.com/2008/08/learning-c-with-me.html' title='Learning C# with me'/><author><name>Olufemi</name><uri>http://www.blogger.com/profile/18035931595021560955</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNjPbP-lBNw1CIEVR8Sx7hScHZ_lTW7ClJ-TYhXvC3--XdDAASIPhxCqpUU-RO44iCoJ6-9N26EzOjlK6y_7mUG9sgyT6Uf2jKQsvPH9HNoJDFoyMO9AZn-caFIKr-f-4/s220/IMG_0488.JPG'/></author><thr:total>0</thr:total></entry></feed>