At a Glance
Paperback
320 Pages
320 Pages
Dimensions(cm)
23.39 x 15.6 x 1.7
23.39 x 15.6 x 1.7
Paperback
$80.34
Aims to ship in 7 to 10 business days
C# is a new language from Microsoft and is a key part of their . NET framework. It is a modern, well-engineered language, in the same family of programming languages in terms of syntax, as C, C++ and Java. If you have knowledge of one of these languages, it will look very familiar. Essential C# fast is a quick, practical introduction to the C# programming language. It includes complete programming examples that highlight the core features of this language, and covers areas such as: - Using C# with a traditional compile run cycle;- Using C# within the Developer Studio environment; - Different data types supported in C#; - Control structures and input and output (i/o) in C#; - Key features of C# and their relationship to C, C++, Java and other programming languages. The source code for examples in this book is available from the Essential series web site: www essential-series. com
Overview | p. 1 |
Assumptions | p. 2 |
What Is Covered | p. 2 |
System Requirements | p. 3 |
C# History | p. 4 |
Languages and Standards | p. 5 |
Algorithms and Libraries | p. 6 |
News Groups | p. 6 |
Bibliography | p. 7 |
Language Concepts | p. 9 |
Programming Language Developments | p. 10 |
Compilation Style | p. 10 |
Data Types | p. 11 |
Dynamic Arrays | p. 11 |
Polymorphism | p. 11 |
Structured Programming | p. 12 |
Stepwise Refinement | p. 12 |
Information Hiding and Modules | p. 12 |
Pointers and References | p. 13 |
Operator Overloading | p. 13 |
Threads and Multitasking | p. 13 |
Exception Handling | p. 14 |
Object-Oriented Programming | p. 14 |
The Approach of Meyer | p. 15 |
The Approach of Rumbaugh, et al | p. 16 |
Development Environments | p. 17 |
Graphical Development Tools | p. 17 |
Software Components | p. 18 |
C# Concepts and Terminology | p. 19 |
Classes | p. 19 |
Constants | p. 20 |
Fields | p. 20 |
Methods | p. 20 |
Properties | p. 20 |
Events | p. 20 |
Indexers | p. 21 |
Instance Constructors | p. 21 |
Static Constructors | p. 21 |
Destructors | p. 21 |
Inheritance | p. 21 |
Interfaces | p. 21 |
Delegates | p. 21 |
Attributes | p. 22 |
Bibliography | p. 22 |
Books and Articles | p. 22 |
Web Addresses | p. 26 |
Search engines | p. 27 |
Ada | p. 27 |
C | p. 27 |
C++ | p. 27 |
C# | p. 27 |
Eiffel | p. 27 |
Fortran | p. 27 |
Microsoft Visual Basic | p. 27 |
Modula 2 | p. 27 |
Oberon | p. 27 |
Pascal | p. 27 |
An Introduction to Programming in C# | p. 29 |
Introduction | p. 30 |
Hello World Using the Console | p. 32 |
using System; | p. 32 |
class HelloWorld | p. 32 |
{ and } | p. 32 |
static int Main() | p. 32 |
Console.WriteLine("Hello World"); | p. 32 |
return 0; | p. 33 |
; | p. 33 |
Hello World Using Developer Studio | p. 33 |
Starting Developer Studio | p. 33 |
Creating a New Project | p. 35 |
Creating an Empty Project | p. 36 |
Adding an Existing Item | p. 37 |
Building the Project | p. 39 |
Running the Project | p. 40 |
Editing the Project | p. 42 |
Console Application | p. 42 |
Simple Text I/O | p. 44 |
Simple Numeric I/O | p. 44 |
On-Line Documentation | p. 47 |
Contents Mode | p. 49 |
Compiler Error Messages | p. 52 |
Key Concepts of C# | p. 53 |
Summary | p. 53 |
Arithmetic and Expressions | p. 55 |
Introduction | p. 56 |
Integral Types | p. 58 |
Floating Point Types | p. 60 |
The Decimal Type | p. 62 |
Math Members | p. 63 |
Public Static (Shared) Fields | p. 63 |
Public Static (Shared) Methods | p. 63 |
Public Instance Methods | p. 64 |
Protected Instance Methods | p. 64 |
Operators | p. 65 |
Simple and Aliased Types | p. 69 |
Integer Arithmetic | p. 70 |
Integer Overflow | p. 70 |
Evaluating Simple Expressions | p. 72 |
Evaluating Expressions Using Increment Operators | p. 73 |
Evaluating Expressions Using Integer Division and Remainder | p. 73 |
Variation on a Theme | p. 74 |
Floating Point Arithmetic | p. 75 |
Simple Single and Double Precision Example | p. 75 |
Comparing Calculations | p. 75 |
Using Variables of Type float | p. 76 |
Using Variables of Type double | p. 77 |
Expression Equivalence | p. 78 |
Trigonometric Evaluation | p. 79 |
Base Conversion | p. 82 |
Overflow and Underflow | p. 82 |
Using an Uninitialised Variable | p. 83 |
Formatting Numbers | p. 84 |
Escape Sequences | p. 85 |
Literals | p. 85 |
Arithmetic in Other languages | p. 86 |
Summary | p. 86 |
Bibliography | p. 87 |
Problems | p. 87 |
Some More on Data Types | p. 89 |
Booleans | p. 90 |
Characters and Strings | p. 90 |
The char Data Type | p. 92 |
Arrays of Characters | p. 92 |
Initialization and Object Assignment | p. 93 |
Accessing Array Elements | p. 94 |
Value and Reference Types | p. 94 |
Enum Types | p. 95 |
Days of the Week Example | p. 95 |
Colours Example | p. 96 |
Other Types | p. 97 |
Struct Types | p. 97 |
Class Types | p. 97 |
Object Types | p. 97 |
Array Types | p. 98 |
C# Keywords | p. 98 |
Comments | p. 98 |
Summary | p. 100 |
Problem | p. 100 |
Strings | p. 101 |
Basic String Manipulation | p. 102 |
Concatenating and Splitting Strings | p. 103 |
Using the Length Property and IndexOf Method | p. 105 |
String Constructors, Fields, Methods, Operators and Properties | p. 106 |
Problems | p. 106 |
Arrays | p. 107 |
Introduction | p. 108 |
One-dimensional Arrays | p. 108 |
Using a for Statement | p. 108 |
Using a foreach Statement | p. 110 |
Array Initialization | p. 110 |
Simple Two-dimensional Arrays | p. 111 |
Arrays of Arrays | p. 113 |
Ragged Arrays | p. 114 |
List of Array Members | p. 115 |
Public Static (Shared) Methods | p. 115 |
Public Instance Properties | p. 115 |
Public Instance Methods | p. 116 |
Protected Instance Constructors | p. 116 |
Protected Instance Methods | p. 116 |
Summary | p. 117 |
Problems | p. 117 |
Control Structures | p. 119 |
Statement End Points and Reachability | p. 120 |
Types of Statements | p. 121 |
Labeled Statements | p. 121 |
Declaration Statements | p. 121 |
Embedded Statements | p. 122 |
Blocks | p. 122 |
Empty Statements | p. 122 |
Expression Statements | p. 122 |
Checked and Unchecked Statements | p. 123 |
Lock Statements | p. 123 |
Using Statements | p. 123 |
Selection Statements | p. 124 |
If Statement | p. 124 |
Switch Statement | p. 125 |
Iteration Statements | p. 130 |
While Statement | p. 130 |
Do Statement | p. 131 |
For Statement | p. 133 |
Foreach Statement | p. 134 |
Jump Statements | p. 135 |
Break Statement | p. 135 |
Continue Statement | p. 136 |
Goto Statement | p. 136 |
Return Statement | p. 136 |
Example of Jump Statements | p. 137 |
Exception Handling Using Try, Catch Throw | p. 138 |
Summary | p. 139 |
Bibliography | p. 139 |
Problems | p. 139 |
Input and Output | p. 143 |
Introduction | p. 144 |
Using the Console Class | p. 145 |
Using the StreamReader Class | p. 146 |
Specifying the File Location | p. 147 |
Reading from Standard Input | p. 148 |
Reading from the Command Line | p. 149 |
Using StreamReader and StreamWriter with Hard-coded File Names | p. 150 |
Reading a File from a Web Server | p. 151 |
Reading Tabular Data from a Text File | p. 152 |
The System.Console Class | p. 153 |
The StreamReader Class | p. 154 |
The System.IO.File Class | p. 155 |
Problems | p. 157 |
Exceptions | p. 161 |
Introduction | p. 162 |
The Exception Hierarchy | p. 163 |
Single Public Fields | p. 163 |
Single Public Methods | p. 164 |
Integer Arithmetic Exceptions | p. 164 |
Default Run Time Behaviour | p. 164 |
Checked Behaviour | p. 165 |
Floating Point Exceptions | p. 166 |
Default Run Time Behaviour | p. 166 |
Checked Behaviour | p. 167 |
Throwing an Exception | p. 167 |
Summary | p. 168 |
Threads | p. 169 |
Introduction | p. 170 |
Basic Thread Syntax | p. 171 |
Using the Sleep Method | p. 172 |
Threads and Static Variables | p. 173 |
Threads with Start, Suspend and Resume | p. 175 |
Thread Priority | p. 176 |
Thread States | p. 179 |
Microsoft Examples | p. 179 |
Bibliography | p. 182 |
Problems | p. 183 |
Structs | p. 185 |
Introduction | p. 186 |
Basic Syntax | p. 186 |
Simple Example | p. 187 |
Classes | p. 189 |
Basic Class Syntax | p. 190 |
Examples | p. 191 |
Greatest Common Divider | p. 191 |
Recursion | p. 192 |
Checked Arithmetic | p. 193 |
Using Try and Catch | p. 194 |
Date Class | p. 196 |
Arrays of Dates | p. 197 |
Inheritance: Virtual Date Base Class | p. 198 |
Passing Parameters | p. 201 |
Instance and Static Members | p. 202 |
Compiler Error CS0120 | p. 205 |
Compiler Error CS0176 | p. 206 |
Additional Syntax | p. 207 |
Bibliography | p. 208 |
The System.Collections Namespace | p. 209 |
Introduction | p. 210 |
Using the Hashtable Class | p. 211 |
Using the SortedList Class | p. 214 |
A Spelling Checker | p. 216 |
Summary | p. 219 |
Bibliography | p. 219 |
Operator Overloading | p. 221 |
Complex Numbers | p. 222 |
Complex Arithmetic in Other Languages | p. 222 |
Complex Numbers Using the Float Data Type | p. 223 |
Complex Numbers Using the Double Data Type | p. 226 |
Complex Arithmetic Using Implicit Type Conversions | p. 227 |
Complex Arithmetic Using Explicit Type Conversions | p. 229 |
Arrays of Complex Numbers | p. 231 |
Summary | p. 232 |
An Introduction to Windows Programming | p. 233 |
Introduction | p. 234 |
The .Net IDE | p. 234 |
Other Languages and the .Net Environment | p. 235 |
Visual Development | p. 235 |
Buttons and Event Handling Using a MessageBox Control | p. 245 |
Getting Help when Writing Programs | p. 248 |
Running the Program | p. 251 |
Using a TextBox to Accept User Input | p. 256 |
Using a RichTextBox to Display Program Output | p. 258 |
Using a PictureBox to Display an Image | p. 260 |
Selecting a File with the OpenFileDialog Control | p. 261 |
Text and Graphics Using GDI+ | p. 264 |
GDI+ | p. 264 |
Creating Graphical Images with GDI+ | p. 265 |
Rendering with GDI+ | p. 266 |
Coordinate Systems | p. 267 |
The OnPaint Method | p. 267 |
Graphics Objects | p. 267 |
Simple Example Using the DrawLine Method | p. 268 |
Default Coordinate System: Plotting Sines and Cosines | p. 271 |
Alternate Coordinate System: Plotting Sines and Cosines | p. 275 |
Simple Text Example | p. 277 |
Converting a Console to a Windows Application | p. 279 |
Bibliography | p. 283 |
Additional Language Features | p. 285 |
Events and Event Handling | p. 286 |
Interfaces | p. 287 |
Attributes | p. 287 |
Delegates | p. 287 |
Windows-based Programming | p. 288 |
Namespaces | p. 289 |
Assemblies and Versioning | p. 289 |
Bibliography | p. 290 |
Where Next? | p. 291 |
Online Documentation | p. 292 |
Examples | p. 292 |
Tutorials | p. 292 |
Wizards | p. 292 |
Web Sources | p. 293 |
Books | p. 293 |
Microsoft | p. 293 |
Source Code | p. 293 |
Coda | p. 293 |
Default Coordinate System Example in C++ | p. 294 |
Index | p. 297 |
Table of Contents provided by Publisher. All Rights Reserved. |
ISBN: 9781852335625
ISBN-10: 1852335629
Series: Essential Series
Published: 25th April 2003
Format: Paperback
Language: English
Number of Pages: 320
Audience: Professional and Scholarly
Publisher: Springer Nature B.V.
Country of Publication: GB
Dimensions (cm): 23.39 x 15.6 x 1.7
Weight (kg): 0.45
Shipping
Standard Shipping | Express Shipping | |
---|---|---|
Metro postcodes: | $9.99 | $14.95 |
Regional postcodes: | $9.99 | $14.95 |
Rural postcodes: | $9.99 | $14.95 |
How to return your order
At Booktopia, we offer hassle-free returns in accordance with our returns policy. If you wish to return an item, please get in touch with Booktopia Customer Care.
Additional postage charges may be applicable.
Defective items
If there is a problem with any of the items received for your order then the Booktopia Customer Care team is ready to assist you.
For more info please visit our Help Centre.
You Can Find This Book In
This product is categorised by
- Non-FictionComputing & I.T.Computer Programming & Software DevelopmentProgramming & Scripting Languages
- Non-FictionComputing & I.T.Computer Programming & Software DevelopmentObject-Oriented Programming or OOP
- Non-FictionComputing & I.T.Computer Programming & Software DevelopmentCompilers & Interpreters