<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>C# - introduction to classes</title><link>http://code.msdn.microsoft.com/classesintroduction/Project/ProjectRss.aspx</link><description>An example for introducing classes. More....</description><item><title>NEW POST: Problem rebuilding - manifest</title><link>http://code.msdn.microsoft.com/classesintroduction/Thread/View.aspx?ThreadId=583</link><description>&lt;div class="wikidoc"&gt;
Solution:&lt;br /&gt;I got this when I renamed my C# project then tried to publish it. To solve, I went to the &amp;quot;Signing&amp;quot; tab of the project properties and unchecked &amp;quot;Sign the ClickOnce manifests&amp;quot;. Good luck!&lt;br /&gt;
&lt;/div&gt;</description><author>coderinstl</author><pubDate>Thu, 07 Aug 2008 03:31:44 GMT</pubDate><guid isPermaLink="false">NEW POST: Problem rebuilding - manifest 20080807A</guid></item><item><title>NEW POST: Problem rebuilding - manifest</title><link>http://code.msdn.microsoft.com/classesintroduction/Thread/View.aspx?ThreadId=583</link><description>&lt;div class="wikidoc"&gt;
when i try to rebuild, I get a error message &amp;quot;Unable to find manifest signing certificate in the certificate store.&amp;quot;&lt;br /&gt; &lt;br /&gt;How do I work around it ?&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>coderinstl</author><pubDate>Thu, 07 Aug 2008 03:12:19 GMT</pubDate><guid isPermaLink="false">NEW POST: Problem rebuilding - manifest 20080807A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;In the code we introduce classes for the first time to the students. If you don't want to begin the introduction with an employee or student class, here is a suggestion.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Problem to solve&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river the fox and the chicken, while he takes the corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side?&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items. The fox, the chicken and the corn are the objects which the farmer must take across the river. We describe our objects with a name, a side, a code (and later with a picture of the object). This are the instance variables. Each of the objects can be taken or released or can cross the river. This are the methods. We also have a class variable &lt;i&gt;last&lt;/i&gt;, in which we save the code of the object which was the last that has crossed the river.&lt;br /&gt; &lt;br /&gt;I'm used to solve the problem first and then design the user interface, so I first design a very simple interface to solve the problem. (In the file &lt;i&gt;Solution.cs&lt;/i&gt;). There is implemented the logic of solving this problem. The solution of the problem is very similar to the pencil and paper method of solving problems.  &lt;br /&gt; &lt;br /&gt;When we are done with solution, we can think about how make this problem like a simple game. I thought about two listview controls which represents the left and right side of the river. (In the starting programming courses we don't use listview control very often, but it's useful.) All we have to do is to code the event handler for draging items from one listview to another. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 16:47:40 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;In the code we introduce classes for the first time to the students. If you don't want to begin the introduction with an employee or student class, here is a suggestion.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Problem to solve&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river fox and chicken, while he takes corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side?&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items. The fox, the chicken and the corn are the objects which the farmer must take across the river. We describe our objects with name, side, code (and later with a picture of the object). This are the instance variables. Each of the objects can be taken or released or can cross the river. This are the methods. We also have a class variable &lt;i&gt;last&lt;/i&gt;, in which we save the code of the object which was the last that has crossed the river.&lt;br /&gt; &lt;br /&gt;I'm used to first solve the problem and then design the user interface, so I first design very simple interface to solve the problem. (In the file &lt;i&gt;Solution.cs&lt;/i&gt;). There is implemented the logic of solving this problem. Solution of the problem is very similar to the pencil and paper method of solving problems.  &lt;br /&gt; &lt;br /&gt;When we are done with solution, we can think about how make this problem like a simple game. I thought about two listview controls which represents the left and right side of the river. (In the starting proramming courses we don't use listview control very often, but it's useful.) All we have to do is to code the event handler for draging items from one listview to another. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 16:39:06 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;In the code we introduce classes for the first time to the students. If you don't want to begin the introduction with an employee or student class, here is a suggestion.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Problem to solve&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river fox and chicken, while he takes corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side?&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items. The fox, the chicken and the corn are the objects which the farmer must take across the river. We describe our objects with name, side, code (and later with a picture of the object). This are the instance variables. Each of the objects can be taken or released or can cross the river. This are the methods. We also have a class variable &lt;i&gt;last&lt;/i&gt;, which describes if the object was the last that has crossed the river.&lt;br /&gt; &lt;br /&gt;I'm used to first solve the problem and then design the user interface, so I first design very simple interface to solve the problem. (In the file &lt;i&gt;Solution.cs&lt;/i&gt;). There is implemented the logic of solving this problem. Solution of the problem is very similar to the pencil and paper method of solving problems.  &lt;br /&gt; &lt;br /&gt;When we are done with solution, we can think about how make this problem like a simple game. I thought about two listview controls which represents the left and right side of the river. (In the starting proramming courses we don't use listview control very often, but it's useful.) All we have to do is to code the event handler for draging items from one listview to another. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 16:35:17 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;In the code we introduce classes for the first time to the students. If you don't want to begin the introduction with an employee or student class, here is a suggestion.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Problem to solve&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river fox and chicken, while he takes corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items. The fox, the chicken and the corn are the objects which the farmer must take across the river. We describe our objects with name, side, code (and later with a picture of the object). This are the instance variables. Each of the objects can be taken or released or can cross the river. This are the methods. We also have a class variable &lt;i&gt;last&lt;/i&gt;, which describes if the object was the last that has crossed the river.&lt;br /&gt; &lt;br /&gt;I'm used to first solve the problem and then design the user interface, so I first design very simple interface to solve the problem. (In the file &lt;i&gt;Solution.cs&lt;/i&gt;). There is implemented the logic of solving this problem. Solution of the problem is very similar to the pencil and paper method of solving problems.  &lt;br /&gt; &lt;br /&gt;When we are done with solution, we can think about how make this problem like a simple game. I thought about two listview controls which represents the left and right side of the river. (In the starting proramming courses we don't use listview control very often, but it's useful.) All we have to do is to code the event handler for draging items from one listview to another. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 16:27:54 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;In the code we introduce classes for the first time to the students. If you don't want to begin the intorduction with an employee or student class, here is a suggestion.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Problem to solve&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river fox and chicken, while he takes corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items. The fox, the chicken and the corn are the objects which the farmer must take across the river. We describe our objects with name, side, code (and later with a picture of the object). This are the instance variables. Each of the objects can be taken or Released. This are the methods.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 16:12:15 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item><item><title>RELEASED: Farmer (Aug 05, 2008)</title><link>http://code.msdn.microsoft.com/classesintroduction/Release/ProjectReleases.aspx?ReleaseId=1369</link><description></description><author></author><pubDate>Tue, 05 Aug 2008 16:02:00 GMT</pubDate><guid isPermaLink="false">RELEASED: Farmer (Aug 05, 2008) 20080805P</guid></item><item><title>CREATED RELEASE: Farmer (avg 05, 2008)</title><link>http://code.msdn.microsoft.com/classesintroduction/Release/ProjectReleases.aspx?ReleaseId=1369</link><description></description><author></author><pubDate>Tue, 05 Aug 2008 16:02:00 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Farmer (avg 05, 2008) 20080805P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/classesintroduction/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;In the code we introduce classes with an example. &lt;br /&gt; &lt;br /&gt;A farmer goes to town and he takes with him a fox, a chicken and a bag of corn. On the way he must cross the river, but he only has a small boat on which he can carry only one of the objects. If he leaves on the same side of the river fox and chicken, while he takes corn on the other side, the fox will eat the chicken. The same thing happens when he leaves on the same side the chicken and the corn.  How can he cross the river to have all three objects on the other side.&lt;br /&gt; &lt;br /&gt;To solve this problem we design a class which represents all of the items.  &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>barbarap</author><pubDate>Tue, 05 Aug 2008 15:53:26 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080805P</guid></item></channel></rss>