Constructing classes.
I'm learning alone at home & need a little help with constructing classes. The problem is because of my inexperience, and as such I don't have any ideas or such to come up with a simple, but suitable project that uses classes. Would you believe I paid several thousand pounds to do this course & all I have is books that I could have bought from Amazon...no set assignments to check my progress, no online assessments, and know projects to do. Just read the book, do the examples, & if you have any problems contact a tutor via the appropriate forum. This I've done, three times & recieved no reply!
Please help if you can as I'm so very keen to learn programming in C#.
Many thanks.

Devin21 reputationPosted Jun 19, 2009, 12:04 PM EDT
I would be happy to help you learn some of the stuff you dont get.
-Devin
Sam Adams7 reputationPosted Jun 19, 2009, 3:23 PM EDT
Devin21 reputationPosted Jun 20, 2009, 2:21 PM EDT
Devin21 reputationPosted Jun 20, 2009, 2:40 PM EDT
using System; using System.Windows.Forms; namespace DemoApp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public string Data_Title //Defined in the same class as the function that refrences it { get; set; } public string Data_Text //Defined in the same class as the function that refrences it { get; set; } public void button1_Click(object sender, EventArgs e) { Data_Title = textBox1.Text; //See I can use these varables without a refrence as long as im in the same class :) Data_Text = textBox2.Text; MessageBox.Show("Text: " + Data_Text, "Title: " + Data_Title, MessageBoxButtons.OK, MessageBoxIcon.Information); // Simple dialog box to show the data } } }Sam Adams7 reputationPosted Jun 22, 2009, 4:41 PM EDT