Starting out with Visual C# 2010 (2nd Edition) (Gaddis Series)

Starting out with Visual C# 2010 (2nd Edition) (Gaddis Series)
Author:
Format:
Paperback
Publish Date:
Edition:
2nd
ISBN-10:
0132165457
ISBN-13:
9780132165457
List Price:
$124.00
Compare Prices Buy at Amazon

Author:
Tony Gaddis
Language:
English
Pages:
792
Publisher:
Addison-Wesley
Weight:
3.0 pounds
Length:
11.0 inches
Width:
8.0 inches
Height:
1.0 inches
Product Description

In Starting Out With Visual C# 2010, Gaddis makes a very detailed and evenly-paced presentation of both programming and C# syntax concepts so all readers will be able to follow along. His GUI-based approach to teaching C# will resonate with students in CS, IT, and CIS courses.

Tony Gaddis’s accessible, step-by-step presentation helps beginning students understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and the Visual C# programming language by presenting all the details needed to understand the “how” and the “why”—but never losing sight of the fact that most beginners struggle with this material. His approach is both gradual and highly accessible, ensuring that students understand the logic behind developing high-quality programs.

Customer Book Reviews

Solid Instruction

By

This is the textbook for the Cochise Community College C# class. It's a solid text, but has some typos, most notably "works property" which interestingly enough is in every reference that should be works properly and since this is programming text that talks frequently about debugging programs and you must check to make sure the program works "properly," this phrase is remarkably common. Contrary to another author who said get the print version, I worked through the course on a kindle version. In my case, I listened to each chapter using the text-to-speech function on my kindle device, then I used the Kindle for PC to display a given piece of code on my computer screen while I worked through the same program in Visual Studio. For me, this combination worked quite nicely and I had no need for paper. Also, while working through the course, I compiled a set of notes that I came to refer to as the cheat sheet. While coding, I'd often pull up my cheat sheet which I kept in a double column word document. This was very useful for double checking standard syntax from previous chapters in the book without having to search through the Kindle. Here's my cheat sheet: C# Cheat Sheet - don't forget the ; this.close(); //exit this.Refresh(); nameTextBox.Focus(); //assign focus to a box // Clear input and output TextBox.Text = " "; Label.Text = " "; pic1.Visible = true; pic2.Visible = false; textBox1.Focus(); //Main DataType Variables Rules: //string - Always surrounded by "" //int - integer, which is to say whole numbers //double - up to 2 numbers after . 64 bytes space //decimal - any number of numbers after . 128 bytes space const datatype CONSTANTVARIABLE = mustBeDECLARED;//Creates read only variable - can't be changed //Access Modifier on Field Declaration private int variableName = 0; Concatenate: + MessageBox.Show("Hello" + " " + "World") //Labels must have strings. ToString converts //numeric data to string for display //.Text must be added to name Label.Text = numberVariable.ToString(); //User Input is automatically in string format. //To convert to numbers for calculation, use //Parse (.Text must be added to name) calcVariable = int.Parse(TextBox.Text); calcVariable = double.Parse(TextBox.Text); calcVariable = decimal.Parse(TextBox.Text); //cast operator can be used to convert one type of numeric text to another. double weight; decimal priceperpound; total = (decimal)weight * priceperpound; int wholeNumber; double realNumber = 8.9; wholeNumber = (int)realNumber; string productDescription; MessageBox.Show(productDescription); try { Code to be tried; } catch (Exception ex) { Message.Box.Show(ex.Message); } //if statement If (expression) { Statement; } //if, else statement If (expression) { Statement; } else } Statement; } //nested if statement If (expression) { Statement; If (expression) { Statement; } Else { Statement; } } else { Statement; } Numeric Formatting 12.2 "n3" 12.300 12.348 "n2" 12.35 1234567.1 "n" 1,234,567.10 123456.0 "f2" 123456.00 123456.0 "e3" 1.23e+005 .234 "p" 23.40% -1234.8 "c" ($1,234.80) 23 "d" 23 23 "d4" 0023 1 "d2" 01 Combined Assignment Operators x += 5; x = x+5; x -= 5; x = x-5; x *= 5; x = x*5; x /= 5; x = x/5; x %= 5; x = x%5; divides by number and returns remainder; seldom used Math Class - mostly useless Math.Abs(x); absolute value Math.Acos(x); arccosine of x in radians Math.Asin(x); arcsin of x in radians Math.Atan(x); arctangent Math.Ceiling(x); returns lowest int =>x Math.Cos(x); returns cosine of x in radians Math.Exp(x); returns ex Math.Floor(x); returns greatest integer =<x Math.Log(x); returns natural logarithm of x Math.Log10(x); returns base-10 logarithm Math.Max(x,y); returns greater of two Math.Min(x,y); returns lesser of two Math.Pow(x,y); returns value of x raised to the power of y Math.Round(x); rounds value to nearest integer Math.Sin(x); returns sine of x in radians Math.Sqrt(7); Math.Tan(x); returns the tangent of x in radians Math.Truncate(x); returns integer part of x Math.PI = constant in value of pi Math.E Random rand = new Random(); number = rand.Next(99) + 1; if (userNum == number) MessageBox.Show("Congratulations! You are correct."); else if (userNum > number) MessageBox.Show("Your number is too high! Try again."); pic1.BackgroundImage = ((System.Drawing.Image)(Properties.Resources.die1)); Modularized Code - Functions Value Returning Function: public partial class Form1 : Form { public double CalcStayCharges(double Days) { double NumofDays; NumofDays = double.Parse(txtDays.Text); return 350 * NumofDays; } Calling the Value Returning Function: private void btnCalc_Click(object sender, EventArgs e) { double Days = 0; double.TryParse(txtDays.Text, out Days); stayCost = CalcStayCharges(Days); txtStayCost.Text = stayCost.ToString("C2"); } No Returned Value Function, a "Void" Function: public partial class Form1 : Form { public void ClearOilLube() { chkLube.Checked = false; chkOilChange.Checked = false; } Calling a Void Function: ClearOilLube(); Arrays dataType[] arrayName; int[] numbersArray; const int SIZE = 6; int[] numbersArray = new int[SIZE] 2D Arrays int[,] tictac = new int[3, 3]; Length property double [] temperatures = new double[25] MessageBox.Show(temperatures.Length.ToString()); for (int index = 0; index < temperatures.Length; index++) {MessageBox.Show(temperatures.Length.ToString());} Output is 25 foreach foreach (Type VariableName in ArrayName) { Statement(s); } Write Code to File Int[] numbers = {10,20,30,40,50}; StreamWriter outputFile; outputFile = File.CreateText("Values.txt"); for (int index = 0; index < numbers.Length; index++) { outputFile.WriteLine(numbers[index]); } outputFile.Close(); Read Values from a file, store in Array const in SIZE = 122; int[] names = new int [SIZE]; int index = 0; StreamReader inputFile; inputFile = File.OpenText("SAFPA1stNames.txt"); while (index < names.Length&&!inputFile.EndofStream) { Names[index]=int.Parse(inputFile.ReadLine()); Index++; } inputFile.Close(); List Commands position = nameList.IndexOf("Diane",2);//starts searching at Index 2 int position = nameList.IndexOf("Katheryn); Array Passed as Argument Private void showArray(string[] strArray) foreach (string str in strArray) { MessageBox.Show(str); } Array Displayed in List Box foreach (int number in numbers) { ListBox.Items.Add(number); } Trim stringVar.Trim(); Uppercase name.ToUpper(); indexOf int position = nameList.IndexOf("Kathryn");

Loved It!

By

This is the first C# book I have ever boughten and it was for college. I really loved this book a lot, and I only wish it had more content! If you're a beginner, this is the book for you definately. If you haven't even started a language, this is a great book to start out. I started out learning HTML and COBOL, but I wished I would have learned this first because it's so much easier to follow, especially when using Visual Studio, it is a LOT of fun. I LOVE IT! I really don't even care about the downsides. I don't think I would recommend this as a mere reference anyway. I think this product should be for novice programmers. This is a starting point. I plan on purchasing a Visual Studio guide or C# in depth for a second book. I am not sure what I want to do yet though. The way the book is written is excellent! 5 Stars!

excellent book for beginners

By

this is an excellent book for absolute beginners ,people who never programmed in any programming language before.if you have programmed in any language before you still can use this book but you will find yourself reading pages and pages of redundent info (you can cram through them as i did).the author do a very good job explaining stuff to the reader. this book is highly recommended. what i liked : clear explanation of concepts ,beginner friendly. what i disliked : no major comlplaines,maybe the author could explain some software engineering side of things. i would like to make a clear disclaimer here : this book is beginner level book ,you probably will not be able to make your dream program using only this book ,but rather you need to add another intermediate to advanced book to your arsenal . good luck

Good book, incomplete resource

By

The book itself is great at explaining concepts and walking you through C#. A big part of what makes this book so awesome, however, are the examples it provides in each chapter with each concept. Unfortunately, the "supplemental student programs" each example asks you to refer to is not included or available (that I have been able to find) to use, so you can't really participate in your own learning process as the book asks you to. I have found that many of the supplemental programs are simple enough that if you want to take the time to quickly whip up your own example, it is fairly easy. Especially around chapter 3 when you start to understand how to make basic programs and make it perform basic functions. So basically, the book is a good textbook, but the eBook would be 2 stars better in my review if they offered the supplemental programs in some way to those people who would rather read the book on the computer they are already hauling to school instead of another textbook.

Starting out with Visual C# (2nd Edition) (Gaddis Series) Kindle Edition

By

This Kindle Edition doesn't have page numbers, so when your instructor tells you to go to page 51 and do 1-4 and submit as a text file, you have to figure out what page 51 is.

Great book! Highly recommended!

By

I got this book for an online course, so I'm pretty much learning straight from it. I knew a little about programming before, but not much. This book is amazing. It uses Visual C# and you start creating programs with GUI right away. It feels good running a program that you made that actually accomplishes something. We're about a third in, and I just have to say that this book is great for anyone, even to learn by themselves. He goes through everything very clearly, and makes you test your knowledge every chapter. Great way to start out with Visual C#! If you want to ask anything, feel free to comment on my review.

Excellent introductory book

By

This is an excellent intro to C#. The author gives detailed instructions on how to get started, both for those using Visual Studio and for those using the free C# Express (for which is disk is included). Unlike with some books and some online tutorials, you don't come to points where you think "Hey, you're skipping a step here!" This is the book used in the "Introduction to C# Programming" course at St. Petersburg College (Florida). If you already have some experience with C#, you should use a more advanced book, such as "Visual C# 2010 Step by Step" by John Sharpe, which is the book used in SPC's following course, "Advanced C# Programming."

I loved this book

By

I can

Very Starge Access limit for this book!

By

I'm currently taking the book for my class. I used to read the book off the kindle cloud app and work simultaneously on the Visual Studio C#. Surprisingly the publisher modified the access to this book I just talked to Amazon rep. they said the publisher limit the access to this book via kindle cloud!!!! More shockingly she said this book is no longer available to customers in USA!!!!! I guess there is a huge issue in regard to customer's satisfaction here which I also asked the Amazon rep to express that to their office of relation as well!

HIGHLY RECOMMEND

By

Aside from some really minor typos, this book is excellent for the absolute beginner. The tutorials in between topics within the chapters provide great hands-on and step-by-step processes to help understand what you are learning. This is the first time I read the chapters word for word, line by line - in any textbook - EVER! It is that good!

Add a Book Review

Book Summary: The title of this book is Starting out with Visual C# 2010 (2nd Edition) (Gaddis Series) and it was written by Tony Gaddis. This particular edition is in a Paperback format. This books publish date is Feb 25, 2011 and it has a suggested retail price of $124.00. It was published by Addison-Wesley and has a total of 792 pages in the book. The 10 digit ISBN is 0132165457 and the 13 digit ISBN is 9780132165457. To buy this book at the lowest price, Click Here.