- Full Description
This book presents the C# language in a uniquely succinct and visual format. Often in programming books, the information can be hidden in a vast sea of words. As a programmer who has over the years used a dozen programming languages, the author understands it can¬†sometimes be¬†difficult to slog through another 1,000-page book of dense text to learn a new language. There are likely¬†many other programmers who feel the same way. To address this situation, this book¬†explains C# using figures; short, focused code samples; and clear, concise explanations.
Figures are of prime importance in this book. While¬†teaching programming seminars, Daniel Solis¬†found that he¬†could almost watch the lightbulbs going on over the students heads as he¬†drew the figures on the whiteboard. In this text, he has¬†distilled each important concept into simple but accurate illustrations. The visual presentation of the content will give you an understanding of C# thats not possible with text alone.
For something as intricate and precise as a programming language, however, there must be text as well as figures. But rather than long, wordy explanations, Solis has¬†used short, concise descriptions and bulleted lists to make each important piece of information visually distinct.
By the end of this book, youll have a thorough working knowledge of all aspects of the C# language, whether youre a novice programmer or a seasoned veteran of other languages. If you want a long, leisurely, verbose explanation of the language, this is not the book for you. But if you want a concise, thorough, visual presentation of C#, this is just what youre looking for.
What youll learn
- Details of the C# 2010 language presented in a clear, concise treatment
- New features in the latest version of .NET, in the authors unique visual style
- How C# differs from and is similar to other programming languages, aiding migrating C++ and VB programmers who already know how languages work
Who this book is for
- Visual Basic programmers interested in moving to C#
- C++ programmers interested in moving to C#
- Novice programmers interested in learning C#
- Students in introductory programming classes learning C#
- Table of Contents
Table of Contents
- C# and the .NET Framework
- Overview of C# Programming
- Types, Storage and Variables
- Classes: The Basics
- More about Classes
- Classes and Inheritance
- Expressions and Operators
- Namespaces and Assemblies
- Enumerators and Iterators
- Introduction to LINQ
- Introduction to Asynchronous Programming
- Preprocessor Directives
- Reflection and Attributes
- Other Topics
- Source Code/Downloads
On page Kindle Version from amazon Location 1423 of 11655:in Chapter 4, Class Members, Explicit and Implicit Field Initialization. There is an example of declaring fields that reads:
int¬†¬†¬†¬†F1;¬†¬†¬†¬†¬†¬†¬†¬†¬†// Initialized to 0¬†¬†¬†¬†- value type
string F2;¬†¬†¬†¬†¬†¬†// Initialized to null - reference type ¬†¬†¬†¬†¬†¬†¬†
int¬†¬†¬†¬†F3; = 25;¬†¬†¬†¬†// Initialized to 25 ¬†¬†¬†¬†¬†¬†¬†
string F4 = "abcd";¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†¬†// Initialized to "abcd" ¬†¬†¬†
There is an extraneous ';' after F3 declaration..
On page 82:in the declaration of the Avg method inside the MyClass class, it reads :
return (input1 + input2) / 2.0F;
i would better write :
return (input1 + imput2)/2;
".0F" at the end of the line is useless. and, it provokes an error !
On page 83:the variables of the func1 function reads as follows :
float j = 2.6F;
float k = 5.1F;
i am not sure the "F" character actually makes sense.
i would better write :
float j = 2.6;
float k = 5.1;