<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[@ruantec Entertainment Software - All Forums]]></title>
		<link>http://aruantec.xtemu.com/forum/</link>
		<description><![CDATA[@ruantec Entertainment Software - http://aruantec.xtemu.com/forum]]></description>
		<pubDate>Thu, 09 Sep 2010 09:51:32 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Is the C++ is basic language of all??]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-56.html</link>
			<pubDate>Sat, 28 Aug 2010 09:26:00 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-56.html</guid>
			<description><![CDATA[Hi gays new to this forum wanna ask a question Actually im new to the world of programming and didnt know much about this i have heared some where that the C++ is the basic language of all but i wanna confirm here from some body can any one help me out here]]></description>
			<content:encoded><![CDATA[Hi gays new to this forum wanna ask a question Actually im new to the world of programming and didnt know much about this i have heared some where that the C++ is the basic language of all but i wanna confirm here from some body can any one help me out here]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mamorable Pictures]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-55.html</link>
			<pubDate>Sat, 24 Jul 2010 08:08:37 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-55.html</guid>
			<description><![CDATA[Do you think Pictures are for a good Memories?]]></description>
			<content:encoded><![CDATA[Do you think Pictures are for a good Memories?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[12 - Lesson 10 - Collections and Dictionary]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-54.html</link>
			<pubDate>Mon, 31 May 2010 21:12:14 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-54.html</guid>
			<description><![CDATA[we´ve learned how to work with classes and how to call methods inside a class and lets not forget our friends getter and setter YAY!!!! but wait!!! what if we want an array of classes or probably we want to store them into an array with keys that we can access anytime and fast???<br />
<br />
The answer to that its to use Generics which are very usable to bind objects such as lists dynamically by providing an array with values. now how is that done?<br />
<br />
let me show you <img src="http://aruantec.xtemu.com/forum/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> :<br />
<br />
First step is to add the right namespace to our project in order to be able to use Generics and this is no other than "using System.Collections.Generic;" by adding this we have now access to the Generic class which is part of the System.Collections.<br />
<br />
We are going to learn:<br />
1. List&lt;Object&gt; (An array containing a list of values of the same type)<br />
2. Dictionary&lt;keyObject, ValueObject&gt; (An array of values with a key)<br />
<br />
In theory we can add anything to a list or dictionary according to the type we defined at the time we declare them. now lets say i want a list of names then i would do that:<br />
<img src="http://aruantec.xtemu.com/course/10-01.jpg" border="0" alt="[Image: 10-01.jpg]" /><br />
<br />
Now that we got the basics what if we want to create a Dictionary???? just as i previously mentioned a dictionary needs a key-value and a object-value where the key help us to find an item fast and without the need to know the entire thing nor index. one last thing tho.. keys must be unique and you should check before inserting a new key or value by using the "contains()" method like:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>if(!names.contains("Jo"))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;names.Add("Jo", "Joel");<br />
}</code></div></div>
<img src="http://aruantec.xtemu.com/course/10-02.jpg" border="0" alt="[Image: 10-02.jpg]" /><br />
<br />
In this case am just using simple strings but you can use whatever you want as values including Classes, Array of classes or any object you want/need.]]></description>
			<content:encoded><![CDATA[we´ve learned how to work with classes and how to call methods inside a class and lets not forget our friends getter and setter YAY!!!! but wait!!! what if we want an array of classes or probably we want to store them into an array with keys that we can access anytime and fast???<br />
<br />
The answer to that its to use Generics which are very usable to bind objects such as lists dynamically by providing an array with values. now how is that done?<br />
<br />
let me show you <img src="http://aruantec.xtemu.com/forum/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> :<br />
<br />
First step is to add the right namespace to our project in order to be able to use Generics and this is no other than "using System.Collections.Generic;" by adding this we have now access to the Generic class which is part of the System.Collections.<br />
<br />
We are going to learn:<br />
1. List&lt;Object&gt; (An array containing a list of values of the same type)<br />
2. Dictionary&lt;keyObject, ValueObject&gt; (An array of values with a key)<br />
<br />
In theory we can add anything to a list or dictionary according to the type we defined at the time we declare them. now lets say i want a list of names then i would do that:<br />
<img src="http://aruantec.xtemu.com/course/10-01.jpg" border="0" alt="[Image: 10-01.jpg]" /><br />
<br />
Now that we got the basics what if we want to create a Dictionary???? just as i previously mentioned a dictionary needs a key-value and a object-value where the key help us to find an item fast and without the need to know the entire thing nor index. one last thing tho.. keys must be unique and you should check before inserting a new key or value by using the "contains()" method like:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>if(!names.contains("Jo"))<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;names.Add("Jo", "Joel");<br />
}</code></div></div>
<img src="http://aruantec.xtemu.com/course/10-02.jpg" border="0" alt="[Image: 10-02.jpg]" /><br />
<br />
In this case am just using simple strings but you can use whatever you want as values including Classes, Array of classes or any object you want/need.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[11 - Lesson 09 - Static Methods and Classes]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-53.html</link>
			<pubDate>Sun, 30 May 2010 21:15:12 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-53.html</guid>
			<description><![CDATA[Static fields are accessible via the type name without instantiation. that means that you can access them any time and everywhere depending on the type of class you defined. the methods inside a class most be accessable to anyone by using Internal, Public or whatever you want to define in order to fit your needs.<br />
<br />
<img src="http://aruantec.xtemu.com/course/09-01.jpg" border="0" alt="[Image: 09-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * getWorkingMonths();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int getWorkingMonths()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print the predefined static method<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Pay-months:" + employee.getWorkingMonths());<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
We can also go further and create a Class that holds a static variable were we can keep adding values over and over and its going to keep the value for us so that we can access it anytime and everywhere like this:<br />
<br />
<img src="http://aruantec.xtemu.com/course/09-02.jpg" border="0" alt="[Image: 09-02.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * getWorkingMonths();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int getWorkingMonths()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class Calculator<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Holds the value result;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int result { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Store salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculator.result += firstEmployee.salary;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Store salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculator.result += secondEmployee.salary;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print the predefined static method<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Pay-months:" + employee.getWorkingMonths() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Use static class variable where we previously added the values and print them<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine(firstEmployee.Name + " and " + secondEmployee.Name + " earn a total amount of " + Calculator.result + " per month");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
]]></description>
			<content:encoded><![CDATA[Static fields are accessible via the type name without instantiation. that means that you can access them any time and everywhere depending on the type of class you defined. the methods inside a class most be accessable to anyone by using Internal, Public or whatever you want to define in order to fit your needs.<br />
<br />
<img src="http://aruantec.xtemu.com/course/09-01.jpg" border="0" alt="[Image: 09-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * getWorkingMonths();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int getWorkingMonths()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print the predefined static method<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Pay-months:" + employee.getWorkingMonths());<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
We can also go further and create a Class that holds a static variable were we can keep adding values over and over and its going to keep the value for us so that we can access it anytime and everywhere like this:<br />
<br />
<img src="http://aruantec.xtemu.com/course/09-02.jpg" border="0" alt="[Image: 09-02.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * getWorkingMonths();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int getWorkingMonths()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class Calculator<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Holds the value result;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal static int result { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Store salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculator.result += firstEmployee.salary;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Store salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculator.result += secondEmployee.salary;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print the predefined static method<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Pay-months:" + employee.getWorkingMonths() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Use static class variable where we previously added the values and print them<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine(firstEmployee.Name + " and " + secondEmployee.Name + " earn a total amount of " + Calculator.result + " per month");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[10 - Lesson 08 - Getter, Setter and Methods]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-52.html</link>
			<pubDate>Sun, 30 May 2010 20:46:09 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-52.html</guid>
			<description><![CDATA[Before we continue explainning classes, methods and functions i would like to explain Getter and Setter as we used them in our previous lesson.<br />
<br />
As there names probably already explain those are used to get or set a value passed to the desired variable just as we previously did:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
As you can see we just define the type and the variable name then we just use the get and set in order to allow our variables to get or return the value we previously set.<br />
<br />
METHODS:<br />
<br />
Methods are functions that belongs to a specified class and are declared inside the one it belongs where the coder give access to them depending on what he/she wants to do at the end as it doesn´t necessary needs to return a value back(void).<br />
<br />
<img src="http://aruantec.xtemu.com/course/08-01.jpg" border="0" alt="[Image: 08-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
As you can see you can access the internal method/function i defined inside the employee class and so i get the desired value of each instance created according to the values i previously added.]]></description>
			<content:encoded><![CDATA[Before we continue explainning classes, methods and functions i would like to explain Getter and Setter as we used them in our previous lesson.<br />
<br />
As there names probably already explain those are used to get or set a value passed to the desired variable just as we previously did:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
As you can see we just define the type and the variable name then we just use the get and set in order to allow our variables to get or return the value we previously set.<br />
<br />
METHODS:<br />
<br />
Methods are functions that belongs to a specified class and are declared inside the one it belongs where the coder give access to them depending on what he/she wants to do at the end as it doesn´t necessary needs to return a value back(void).<br />
<br />
<img src="http://aruantec.xtemu.com/course/08-01.jpg" border="0" alt="[Image: 08-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int getYearSalary()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return salary * 12;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + firstEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print Year salary<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Year Salary:" + secondEmployee.getYearSalary() + "&#92;n&#92;n");<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
As you can see you can access the internal method/function i defined inside the employee class and so i get the desired value of each instance created according to the values i previously added.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[09 - Lesson 07 - Classes]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-51.html</link>
			<pubDate>Sun, 30 May 2010 20:15:30 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-51.html</guid>
			<description><![CDATA[A class is the core of any modern Object Oriented Programming language such as C#; most of the time, you will be writing classes. If you have a background in C or C++, many class aspects are similar, but some are different. For example, C# doesn't permit functions to exist outside the class declaration like C++; also, C# use the .NET Framework Class Library, so you have access to thousands more functions than the class libraries available to C++. <br />
<br />
But the concept of data encapsulation is the same in all the modern OOP languages, so a class in C# contains data (fields for example) and operations that manipulate the data (methods). For example, a class that describes an employee would include fields like firstName, lastName, dateOfBirth, basicSalary and department, and methods that operate on the data, such as CalculateSalary() which calculates the employee's basic salary plus the overtime, for example, and another method like RaiseBasicSalary() that raises the basic salary of the employee.<br />
<br />
Basically you can create several Classes inside a CS file or just create a CS file for each class were you define the methods, funtions or whatever related to the desired class. <br />
<br />
now lets show a basic example:<br />
<img src="http://aruantec.xtemu.com/course/07-01.jpg" border="0" alt="[Image: 07-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
As you can see its quite simple to store data in a class and access them any time by just creating a instance of it.]]></description>
			<content:encoded><![CDATA[A class is the core of any modern Object Oriented Programming language such as C#; most of the time, you will be writing classes. If you have a background in C or C++, many class aspects are similar, but some are different. For example, C# doesn't permit functions to exist outside the class declaration like C++; also, C# use the .NET Framework Class Library, so you have access to thousands more functions than the class libraries available to C++. <br />
<br />
But the concept of data encapsulation is the same in all the modern OOP languages, so a class in C# contains data (fields for example) and operations that manipulate the data (methods). For example, a class that describes an employee would include fields like firstName, lastName, dateOfBirth, basicSalary and department, and methods that operate on the data, such as CalculateSalary() which calculates the employee's basic salary plus the overtime, for example, and another method like RaiseBasicSalary() that raises the basic salary of the employee.<br />
<br />
Basically you can create several Classes inside a CS file or just create a CS file for each class were you define the methods, funtions or whatever related to the desired class. <br />
<br />
now lets show a basic example:<br />
<img src="http://aruantec.xtemu.com/course/07-01.jpg" border="0" alt="[Image: 07-01.jpg]" /><br />
<br />
CODE:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
<br />
namespace CSharpTutorial<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;class Program<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// employee class we´re going to use in this example<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/// &lt;/summary&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private class employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Variables that are going to hold the required data<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal string Name { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int age { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal int salary { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static void Main(string[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Create class instance for our first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee firstEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.Name = "Daniel Schweiger";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.age = 22;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firstEmployee.salary = 2000;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employee secondEmployee = new employee();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a name value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.Name = "Mario jetter";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a age value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.age = 19;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add a salary value<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;secondEmployee.salary = 1700;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print first employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + firstEmployee.Name + "&#92;nAge:" + firstEmployee.age + "&#92;nSalary:" + firstEmployee.salary + "&#92;n&#92;n");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Print second employee<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Name:" + secondEmployee.Name + "&#92;nAge:" + secondEmployee.age + "&#92;nSalary:" + secondEmployee.salary);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//Prevent console to close<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Read();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
As you can see its quite simple to store data in a class and access them any time by just creating a instance of it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[08 - Lesson 06 - Switches]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-50.html</link>
			<pubDate>Sun, 30 May 2010 19:46:10 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-50.html</guid>
			<description><![CDATA[After a long time am finally Back and am going to continue lessons for all the people that kept requesting it back <img src="http://aruantec.xtemu.com/forum/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
Enough talk... Switches:<br />
<br />
The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body as the following example:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// statements_switch.cs<br />
using System;<br />
class SwitchTest <br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;static void Main()<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Coffee sizes: 1=Small 2=Medium 3=Large"); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Write("Please enter your selection: "); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string s = Console.ReadLine(); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int n = int.Parse(s);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int cost = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch(n)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 1:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 2:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;goto case 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 3:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 50;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;goto case 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Invalid selection. Please select 1, 2, or 3.");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (cost != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Please insert {0} cents.", cost);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Thank you for your business.");<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
Note that switches are mainly to be used with variables of the same type and all we do here is nothing but check the value and interact according to the value defined in the variable we´re passing. in other words its like a IF statement but we don´t have to write IFS over and over.<br />
<br />
another important factor is that switches need to "break;" on each statement or else the rest of the code its going to be excecuted which is something we do not want as its the whole point of the switch <img src="http://aruantec.xtemu.com/forum/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /> the "Default" one means any other value that hasn´t been defined within the Switch.]]></description>
			<content:encoded><![CDATA[After a long time am finally Back and am going to continue lessons for all the people that kept requesting it back <img src="http://aruantec.xtemu.com/forum/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
Enough talk... Switches:<br />
<br />
The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body as the following example:<br />
<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>// statements_switch.cs<br />
using System;<br />
class SwitchTest <br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;static void Main()<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Coffee sizes: 1=Small 2=Medium 3=Large"); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.Write("Please enter your selection: "); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string s = Console.ReadLine(); <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int n = int.Parse(s);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int cost = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch(n)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 1:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 2:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;goto case 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case 3:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cost += 50;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;goto case 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Invalid selection. Please select 1, 2, or 3.");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (cost != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Please insert {0} cents.", cost);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine("Thank you for your business.");<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>
<br />
Note that switches are mainly to be used with variables of the same type and all we do here is nothing but check the value and interact according to the value defined in the variable we´re passing. in other words its like a IF statement but we don´t have to write IFS over and over.<br />
<br />
another important factor is that switches need to "break;" on each statement or else the rest of the code its going to be excecuted which is something we do not want as its the whole point of the switch <img src="http://aruantec.xtemu.com/forum/images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /> the "Default" one means any other value that hasn´t been defined within the Switch.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Zsnes v1.51 Fails to display graphics]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-49.html</link>
			<pubDate>Tue, 27 Apr 2010 07:34:06 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-49.html</guid>
			<description><![CDATA[I'm getting a IDirectDraw7::SetCooperativeLevel failed. message every time I l load a game via @es beta 7. Loading zsnesw.exe on it's on works fine and plays everything fine. Just can't load from @es frontend. I hear the music from the game so I no it's loading and playing however.<br />
<br />
OS: Windows Vista 64bit + 32bit<br />
Dual Display: Primary Display: 1280x800 Secondary Display (Extended Desktop Mode): 1920x1200<br />
System Processor: IntelCore 2 Duo T5800 @ 2.00GHz 2.00GHz<br />
System Memmory: 4GB<br />
<br />
Sad to see it not working.. love the interface... are you still working on this project or is it Dead?]]></description>
			<content:encoded><![CDATA[I'm getting a IDirectDraw7::SetCooperativeLevel failed. message every time I l load a game via @es beta 7. Loading zsnesw.exe on it's on works fine and plays everything fine. Just can't load from @es frontend. I hear the music from the game so I no it's loading and playing however.<br />
<br />
OS: Windows Vista 64bit + 32bit<br />
Dual Display: Primary Display: 1280x800 Secondary Display (Extended Desktop Mode): 1920x1200<br />
System Processor: IntelCore 2 Duo T5800 @ 2.00GHz 2.00GHz<br />
System Memmory: 4GB<br />
<br />
Sad to see it not working.. love the interface... are you still working on this project or is it Dead?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Annoying illustrator problem]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-46.html</link>
			<pubDate>Tue, 06 Apr 2010 07:33:06 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-46.html</guid>
			<description><![CDATA[Hi guys, <br />
<br />
When I select an object with the select tool I can no longer transform it? Meaning I have to select the free transform tool manually (E). Does anybody know how to get it back to normal? I assume I must have hit some keycombo to deactivate it or something..]]></description>
			<content:encoded><![CDATA[Hi guys, <br />
<br />
When I select an object with the select tool I can no longer transform it? Meaning I have to select the free transform tool manually (E). Does anybody know how to get it back to normal? I assume I must have hit some keycombo to deactivate it or something..]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Yakoo Manager 0.2 Beta 1.3]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-45.html</link>
			<pubDate>Tue, 06 Apr 2010 07:29:58 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-45.html</guid>
			<description><![CDATA[Yakoo manager is new a media manager. Currently only divx management is supported. This software lets you make a virtual library of all your Movies / Divx on your computer or on your storage devices (USB keys, external hard drive). Inform the directory where you store movies / Divx, it will automatically add your Movies / Divx with all their description (synopsis, actors, directors, film frame). This avoids having to add all your movies one by one. Everything is automatic.]]></description>
			<content:encoded><![CDATA[Yakoo manager is new a media manager. Currently only divx management is supported. This software lets you make a virtual library of all your Movies / Divx on your computer or on your storage devices (USB keys, external hard drive). Inform the directory where you store movies / Divx, it will automatically add your Movies / Divx with all their description (synopsis, actors, directors, film frame). This avoids having to add all your movies one by one. Everything is automatic.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[GTX 470 and cooling]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-44.html</link>
			<pubDate>Tue, 06 Apr 2010 07:22:37 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-44.html</guid>
			<description><![CDATA[I am going to buy one of the new GeForce GTX 470 cards, but I don't quite know if the onboard cooling will be adequate. However, I saw a PCI slot fan laying around, and I figured I'd throw that in. The problem is, both of these fans will be drawing air from the same small "crevice" in between the cards (my motherboard is small). Do you guys think this is safe, or will there be a bit of a struggle for air between the two cards? Thanks in advance.]]></description>
			<content:encoded><![CDATA[I am going to buy one of the new GeForce GTX 470 cards, but I don't quite know if the onboard cooling will be adequate. However, I saw a PCI slot fan laying around, and I figured I'd throw that in. The problem is, both of these fans will be drawing air from the same small "crevice" in between the cards (my motherboard is small). Do you guys think this is safe, or will there be a bit of a struggle for air between the two cards? Thanks in advance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[C# Draw Arc with 3 points]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-43.html</link>
			<pubDate>Tue, 23 Mar 2010 05:06:09 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-43.html</guid>
			<description><![CDATA[please help me, I'm trying to find a way to draw an Arc with 3 points but i can't.<br />
here is parth of the code, (AddArc) method only accepts starting angle, end angle, radius, center point<br />
I want to enter 3 points that define the Arc<br />
<br />
AcadModelSpace mod;<br />
mod.AddArc(p1, 23.4, 0, 180);]]></description>
			<content:encoded><![CDATA[please help me, I'm trying to find a way to draw an Arc with 3 points but i can't.<br />
here is parth of the code, (AddArc) method only accepts starting angle, end angle, radius, center point<br />
I want to enter 3 points that define the Arc<br />
<br />
AcadModelSpace mod;<br />
mod.AddArc(p1, 23.4, 0, 180);]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[buy new or upgrade]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-42.html</link>
			<pubDate>Tue, 23 Mar 2010 04:53:09 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-42.html</guid>
			<description><![CDATA[Hello everybody<br />
My system configuration<br />
Processor: 3.80ghz Pentium 4<br />
Motherboard: Dell, 0YF432 (A02) Model, Nvidia nForce4 SLI Intel Chipset with nForce 590 SLI Southbridge<br />
4096MB of DDR2 Ram<br />
Graphics: Nvidia Geforce 7950GX2 1GB DDR3<br />
OS: Windows XP 32bit<br />
I take very good care of my computer, have the latest anti-virus, do my system maintenance, keep it clean.  I have had no troubles in the past running games at a decent FPS, but after being humbled by BF BC2, it makes me question my computers life span.  I bought it about 4 years ago from Dell, foolish I know.  I have had 0 problems with any hardware thus far, but was curious to see that if it would be cheaper just to do some upgrades to my system or to just save up for a whole new rig, that I *will* be building myself this time.  Thanks for any advice and criticism you can offer.]]></description>
			<content:encoded><![CDATA[Hello everybody<br />
My system configuration<br />
Processor: 3.80ghz Pentium 4<br />
Motherboard: Dell, 0YF432 (A02) Model, Nvidia nForce4 SLI Intel Chipset with nForce 590 SLI Southbridge<br />
4096MB of DDR2 Ram<br />
Graphics: Nvidia Geforce 7950GX2 1GB DDR3<br />
OS: Windows XP 32bit<br />
I take very good care of my computer, have the latest anti-virus, do my system maintenance, keep it clean.  I have had no troubles in the past running games at a decent FPS, but after being humbled by BF BC2, it makes me question my computers life span.  I bought it about 4 years ago from Dell, foolish I know.  I have had 0 problems with any hardware thus far, but was curious to see that if it would be cheaper just to do some upgrades to my system or to just save up for a whole new rig, that I *will* be building myself this time.  Thanks for any advice and criticism you can offer.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Newsletters]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-41.html</link>
			<pubDate>Mon, 22 Mar 2010 19:22:35 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-41.html</guid>
			<description><![CDATA[I am working on a creating a newsletter that important news and updates updates will be contained in. This newsletter will be used for both all hosted sites and the main site at <a href="http://www.xtemu.com" target="_blank">http://www.xtemu.com</a>.<br />
<br />
I sent out a news letter yesterday that was based of a pre-made template, I found out that the html template wasn't being parsed properly in emails so I tried to tweak and re-send the emails, my apologies to anyone that has received more than one email. I plan on figuring out what may be wrong and tweaking the template so it can be properly parsed in emails before sending another newsletter.<br />
<br />
If anyone would like to opt out of receiving these newsletters or board emails, they can untick the option in their UserCP to receive emails from the board administrator, if the option isn't ticked there will be no need need to worry about opting out unless anyone would like to opt in.<br />
<br />
Once the newsletter is working properly, newsletters should be sent out whenever there is important updates or news.]]></description>
			<content:encoded><![CDATA[I am working on a creating a newsletter that important news and updates updates will be contained in. This newsletter will be used for both all hosted sites and the main site at <a href="http://www.xtemu.com" target="_blank">http://www.xtemu.com</a>.<br />
<br />
I sent out a news letter yesterday that was based of a pre-made template, I found out that the html template wasn't being parsed properly in emails so I tried to tweak and re-send the emails, my apologies to anyone that has received more than one email. I plan on figuring out what may be wrong and tweaking the template so it can be properly parsed in emails before sending another newsletter.<br />
<br />
If anyone would like to opt out of receiving these newsletters or board emails, they can untick the option in their UserCP to receive emails from the board administrator, if the option isn't ticked there will be no need need to worry about opting out unless anyone would like to opt in.<br />
<br />
Once the newsletter is working properly, newsletters should be sent out whenever there is important updates or news.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[@ruanViewer - MorphX 1.0.2]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-40.html</link>
			<pubDate>Wed, 11 Nov 2009 22:03:45 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-40.html</guid>
			<description><![CDATA[Here we go again... <img src="http://aruantec.xtemu.com/forum/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /><br />
<br />
first of all i want to appologize for the lack of updates but i´ve been very busy coding @ruanViewer big brother @ES and second because i moved to the city again which took most of my time and energy.. anyways enough bla, bla, bla.<br />
<br />
what´s new???<br />
-Coverflow previews<br />
-Left, Right rows to change pics<br />
-Performance mode activated<br />
-lots of internal bugs fixed(few still remain but are going to be fixed soon)<br />
-a lot more i forgot lol.<br />
<br />
<img src="http://img91.imageshack.us/img91/6086/aruanviewer.jpg" border="0" alt="[Image: aruanviewer.jpg]" /><br />
<br />
enjoy this new release and don´t forget to post any bug you found or any suggestion idea you probably have as i´ll keep checking this thread.<br />
<br />
Regards<br />
@ruantec<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/tar.gif" border="0" alt=".rar" />&nbsp;&nbsp;<a href="attachment.php?aid=9" target="_blank">aruanViewer.rar</a> (Size: 325.99 KB / Downloads: 28)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Here we go again... <img src="http://aruantec.xtemu.com/forum/images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /><br />
<br />
first of all i want to appologize for the lack of updates but i´ve been very busy coding @ruanViewer big brother @ES and second because i moved to the city again which took most of my time and energy.. anyways enough bla, bla, bla.<br />
<br />
what´s new???<br />
-Coverflow previews<br />
-Left, Right rows to change pics<br />
-Performance mode activated<br />
-lots of internal bugs fixed(few still remain but are going to be fixed soon)<br />
-a lot more i forgot lol.<br />
<br />
<img src="http://img91.imageshack.us/img91/6086/aruanviewer.jpg" border="0" alt="[Image: aruanviewer.jpg]" /><br />
<br />
enjoy this new release and don´t forget to post any bug you found or any suggestion idea you probably have as i´ll keep checking this thread.<br />
<br />
Regards<br />
@ruantec<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/tar.gif" border="0" alt=".rar" />&nbsp;&nbsp;<a href="attachment.php?aid=9" target="_blank">aruanViewer.rar</a> (Size: 325.99 KB / Downloads: 28)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[L4D and other PC games..]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-38.html</link>
			<pubDate>Fri, 02 Oct 2009 18:48:11 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-38.html</guid>
			<description><![CDATA[I just bought Left 4 Dead because it was on sale, I would of bought Resident Evil 5 if I had the money.<br />
<br />
Can anyone recommend any decent modifications for the single player campaign of Left 4 Dead?]]></description>
			<content:encoded><![CDATA[I just bought Left 4 Dead because it was on sale, I would of bought Resident Evil 5 if I had the money.<br />
<br />
Can anyone recommend any decent modifications for the single player campaign of Left 4 Dead?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[@ruantec AES Forum Moved]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-36.html</link>
			<pubDate>Mon, 08 Jun 2009 04:17:09 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-36.html</guid>
			<description><![CDATA[The @ruantec AES forum has been moved from Ngemu to the Xtemulation network:<br />
<br />
<a href="http://aruantec.xtemu.com/forum/index.php" target="_blank">http://aruantec.xtemu.com/forum/index.php</a><br />
<br />
The move so far is going smoothly, the forum is up with the logo and avatars. Some things are missing such as the main page and attachments due to not having a backup of the files to work with.<br />
<br />
@ruantec is working on obtaining the files so hopefully everything can be restored on the new subdomain.]]></description>
			<content:encoded><![CDATA[The @ruantec AES forum has been moved from Ngemu to the Xtemulation network:<br />
<br />
<a href="http://aruantec.xtemu.com/forum/index.php" target="_blank">http://aruantec.xtemu.com/forum/index.php</a><br />
<br />
The move so far is going smoothly, the forum is up with the logo and avatars. Some things are missing such as the main page and attachments due to not having a backup of the files to work with.<br />
<br />
@ruantec is working on obtaining the files so hopefully everything can be restored on the new subdomain.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Missing Read Me]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-35.html</link>
			<pubDate>Thu, 26 Mar 2009 21:04:41 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-35.html</guid>
			<description><![CDATA[I'm not sure where to post this, but I can't find the read me anywhere, and I'm sure that most of my questions will be answered by it, but I've downloaded it 2 times and it's just not there.<br />
<br />
Please help.]]></description>
			<content:encoded><![CDATA[I'm not sure where to post this, but I can't find the read me anywhere, and I'm sure that most of my questions will be answered by it, but I've downloaded it 2 times and it's just not there.<br />
<br />
Please help.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Introduce Yourself]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-34.html</link>
			<pubDate>Tue, 10 Feb 2009 00:28:09 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-34.html</guid>
			<description><![CDATA[Hello people, i thought it might be nice to have a thread where the members can introduce themselves.<br />
Loaded here,37 from the UK,member of UG and former member on BG.<br />
I'm still actively involved  in a wide range of sites and activities , but my first loves for my freetime are gaming and emulation.<br />
Glad to be here and i'm very interested in seeing how your projects evolve.]]></description>
			<content:encoded><![CDATA[Hello people, i thought it might be nice to have a thread where the members can introduce themselves.<br />
Loaded here,37 from the UK,member of UG and former member on BG.<br />
I'm still actively involved  in a wide range of sites and activities , but my first loves for my freetime are gaming and emulation.<br />
Glad to be here and i'm very interested in seeing how your projects evolve.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[I'm back]]></title>
			<link>http://aruantec.xtemu.com/forum/thread-33.html</link>
			<pubDate>Mon, 02 Feb 2009 22:56:57 +0000</pubDate>
			<guid isPermaLink="false">http://aruantec.xtemu.com/forum/thread-33.html</guid>
			<description><![CDATA[Sorry guys, I haven't been spending much time at many of the sites I usually visit, I attribute this to not feeling well lately, being busy with other things.<br />
<br />
I'm also registered at a million in one different forums but can't find the time to dedicate to each one. I haven't really been on the VBA-M forum..<br />
<br />
I was also given a mod position at a webmaster forum I haven't visited in ages, not because I'm not interested but because I didn't have the time or didn't feel like visiting it lately..<br />
<br />
So I'm sorry for my latent absence and will try to be more active around here. <img src="http://aruantec.xtemu.com/forum/images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></description>
			<content:encoded><![CDATA[Sorry guys, I haven't been spending much time at many of the sites I usually visit, I attribute this to not feeling well lately, being busy with other things.<br />
<br />
I'm also registered at a million in one different forums but can't find the time to dedicate to each one. I haven't really been on the VBA-M forum..<br />
<br />
I was also given a mod position at a webmaster forum I haven't visited in ages, not because I'm not interested but because I didn't have the time or didn't feel like visiting it lately..<br />
<br />
So I'm sorry for my latent absence and will try to be more active around here. <img src="http://aruantec.xtemu.com/forum/images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></content:encoded>
		</item>
	</channel>
</rss>