Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Thursday, February 7, 2013

C# HF Chap 2

This chapter contain much knowledge i already possess. It talked about Variables, Namespaces, Classes, Methods and these basic stuff. 

What was interesting were the specifics for the from application buttons. Double click on them and you get a methods for what happens when a user click on that specific button.

MessageBox.Show("name is " + name
+ "\nx is " + x
+ "\nd is " + d);


Your program runs inside the CLR (Common Language Runtime). "P 45".

Snippet for messagebox.show(""); is "mbox + tab tab."

n means that it will be a line break. Good Fact!

I didnt get time to finish this chapter so i will have to continue it later. I am on page 66. 

Wednesday, February 6, 2013

C# HF Chap 1

I began with a new C# book today called Head First C#. I just finished the introductory text and the first Chapter today (Visual Applications, in 10 minutes or less). The book seems really good and teaches me in the way i like ie from examples. I basically make a program and learn from the making instead of just reading sample examples that you cannot make a program from.

From this session i learn how to make a Contact program in windows form application. I leaned how to easily navigate around the IDE, how to create form, hot to connect the IDE with a DB, and how to drop a table easily in the form, HAVE TO BE DONE AFTER MAKING THE CONNECTION.

This chapter took 15m longer than i expected so i am a bit late for my CSS class which i will begin with right now.