Sign Up
or
Log In
Privacy
and
TOS
Contact Us
Home
Upload and Management
File Browse
Community
F.A.Q.
About Fliiby
Blog
A Programmer's Introduction to C#
Provided by :
IceCold
» Folder :
Programiranje
» Category :
Document » (no category)
"Release Team[oR] 2001 [x] Programming A Programmer's Introduction to C# by Eric Gunnerson Apress © 2000, 358 pages ISBN: 1893115860 This book takes the C programmer through the all the details—from basic to advanced-- of the new Microsoft C# language. Companion Web Site Table of Contents Back Cover Colleague Comments Synopsis Written as an introduction to the new C#, this guide takes the experienced C programmer a few steps beyond the basics. It covers objects, data types, and flow control, and even delves into some background on the new Microsoft NET Frameworks environment. Keeping in mind that this is for those familiar with C (and even Java), the book goes into some of the advanced features and improvements found in this new language. It also offers a comparison between C#, C++, Visual Basic, and Java. A Programmer's Introduction to C# ....................................................................................... - 9 Foreword .................................................................................................................................... - 10 About This Book....................................................................................................................... - 10 Introduction.............................................................................................................................. - 11 Why Another Language? .......................................................................................................... - 11 C# Design Goals ....................................................................................................................... - 11 The C# Compiler and Other Resources .................................................................................... - 12 Chapter 1: Object-Oriented Basics.......................................................................................... - 13 Overview................................................................................................................................... - 13 What Is an Object?.................................................................................................................... - 13 Inheritance................................................................................................................................. - 13 Polymorphism and Virtual Functions ....................................................................................... - 14 Encapsulation and Visibility ..................................................................................................... - 16 Chapter 2: The .Net Runtime Environment ............................................................................ - 16 Overview................................................................................................................................... - 16 The Execution Environment ..................................................................................................... - 17 Metadata.................................................................................................................................... - 18 Assemblies ................................................................................................................................ - 19 Language Interop ...................................................................................................................... - 19 Attributes................................................................................................................................... - 19 Chapter 3: C# Quickstart........................................................................................................... - 20 Overview................................................................................................................................... - 20 Hello, Universe ......................................................................................................................... - 20 Namespaces and Using ............................................................................................................. - 20 Namespaces and Assemblies .................................................................................................... - 21 Basic Data Types ...................................................................................................................... - 22 Classes, Structs, and Interfaces ................................................................................................. - 23 -2- Statements ................................................................................................................................. - 23 Enums ....................................................................................................................................... - 23 Delegates and Events ................................................................................................................ - 24 Properties and Indexers............................................................................................................. - 24 Attributes................................................................................................................................... - 24 Chapter 4: Exception Handling ................................................................................................ - 25 Overview................................................................................................................................... - 25 What's Wrong with Return Codes?........................................................................................... - 25 Trying and Catching.................................................................................................................. - 25 The Exception Hierarchy .......................................................................................................... - 26 Passing Exceptions on to the Caller.......................................................................................... - 28 User-Defined Exception Classes............................................................................................... - 30 Finally ....................................................................................................................................... - 31 Efficiency and Overhead........................................................................................................... - 33 Design Guidelines ..................................................................................................................... - 33 Chapter 5: Classes 101............................................................................................................. - 33 Overview................................................................................................................................... - 33 A Simple Class.......................................................................................................................... - 33 Member Functions .................................................................................................................... - 35 ref and out Parameters............................................................................................................... - 36 Overloading............................................................................................................................... - 38 Chapter 6: Base Classes And Inheritance ............................................................................. - 39 Overview................................................................................................................................... - 39 The Engineer Class ................................................................................................................... - 39 Simple Inheritance .................................................................................................................... - 40 Arrays of Engineers .................................................................................................................. - 42 Virtual Functions....................................................................................................................... - 45 Abstract Classes ........................................................................................................................ - 47 Sealed Classes ........................................................................................................................... - 50 Chapter 7: Class Member Accessibility .................................................................................. - 51 Overview................................................................................................................................... - 51 Class Accessibility .................................................................................................................... - 51 Using internal on Members....................................................................................................... - 51 The Interaction of Class and Member Accessibility................................................................. - 52 Chapter 8: Other Class Stuff .................................................................................................... - 52 Overview................................................................................................................................... - 53 Nested Classes........................................................................................................................... - 53 Other Nesting ............................................................................................................................ - 53 Creation, Initialization, Destruction.......................................................................................... - 54 Overloading and Name Hiding ................................................................................................. - 56 Static Fields............................................................................................................................... - 57 Static Member Functions .......................................................................................................... - 58 Static Constructors .................................................................................................................... - 59 Constants................................................................................................................................... - 59 readonly Fields.......................................................................................................................... - 60 Private Constructors.................................................................................................................. - 63 Variable-Length Parameter Lists .............................................................................................. - 63 Chapter 9: Structs (Value Types) ............................................................................................ - 65 Overview................................................................................................................................... - 65 A Point Struct............................................................................................................................ - 65 Boxing and Unboxing ............................................................................................................... - 66 Structs and Constructors ........................................................................................................... - 66 -3- Design Guidelines ..................................................................................................................... - 67 Chapter 10: Interfaces ............................................................................................................... - 67 Overview................................................................................................................................... - 67 A Simple Example .................................................................................................................... - 67 Working with Interfaces............................................................................................................ - 68 The as Operator ....................................................................................................................... - 70 Interfaces and Inheritance ......................................................................................................... - 71 Design Guidelines ..................................................................................................................... - 72 Multiple Implementation........................................................................................................... - 72 Interfaces Based on Interfaces .................................................................................................. - 77 Chapter 11: Versioning Using new and override................................................................... - 77 Overview................................................................................................................................... - 77 A Versioning Example.............................................................................................................. - 77 Chapter 12: Statements and Flow of Execution.................................................................... - 79 Overview................................................................................................................................... - 79 Selection Statements ................................................................................................................. - 79 Iteration Statements................................................................................................................... - 81 Jump Statements ....................................................................................................................... - 85 Definite Assignment ................................................................................................................. - 85 Chapter 13: Local Variable Scoping........................................................................................ - 88 Overview................................................................................................................................... - 88 Chapter 14: Operators............................................................................................................... - 89 Overview................................................................................................................................... - 89 Operator Precedence ................................................................................................................. - 89 Built-In Operators ..................................................................................................................... - 90 User-Defined Operators ............................................................................................................ - 90 Numeric Promotions ................................................................................................................. - 90 Arithmetic Operators................................................................................................................. - 90 Relational and Logical Operators ............................................................................................. - 92 Assignment Operators............................................................................................................... - 94 Type Operators.......................................................................................................................... - 94 Chapter 15: Conversions .......................................................................................................... - 96 Overview................................................................................................................................... - 96 Numeric Types.......................................................................................................................... - 96 Conversions of Classes (Reference Types)............................................................................. - 100 Conversions of Structs (Value Types) .................................................................................... - 103 Chapter 16: Arrays ................................................................................................................... - 103 Overview................................................................................................................................. - 103 Array Initialization.................................................................................................................. - 103 Multidimensional and Jagged Arrays ..................................................................................... - 104 Arrays of Reference Types ..................................................................................................... - 105 Array Conversions .................................................................................................................. - 106 System.Array Type ................................................................................................................. - 106 Chapter 17: Strings .................................................................................................................. - 107 Overview................................................................................................................................. - 107 Operations ............................................................................................................................... - 107 Converting Objects to Strings ................................................................................................. - 109 Regular Expressions................................................................................................................ - 111 Chapter 18: Properties ............................................................................................................ - 115 Overview................................................................................................................................. - 115 Accessors ................................................................................................................................ - 115 Properties and Inheritance....................................................................................................... - 116 -4- Use of Properties..................................................................................................................... - 116 Side Effects When Setting Values .......................................................................................... - 117 Static Properties ...................................................................................................................... - 119 Property Efficiency ................................................................................................................. - 120 Chapter 19: Indexers ............................................................................................................... - 120 Overview................................................................................................................................. - 121 Indexing with an Integer Index ............................................................................................... - 121 Indexers and foreach ..................................................."
You need to upgrade your
Flash Player
, or try to enable javascript in order see this document properly.
(no description)
Text sample from document:
"Release Team[oR] 2001 [x] Programming A Programmer's Introduction to C# by Eric Gunnerson Apress © 2000, 358 pages ISBN: 1893115860 This book takes the C programmer through the all the details—from basic to advanced-- of the new Microsoft C# language. Companion Web Site Table of Contents Back Cover Colleague Comments Synopsis Written as an introduction to the new C#, this guide takes the experienced C programmer a few steps beyond the basics. It covers objects, data types, and flow con..."
A Programmer's Introduction to C#
(no description)
more
File Name:
A_Programmers_Introduction_to_C#.pdf
Provided by:
IceCold
Folder:
Programiranje
(Tutorijali, kursevi, skripte, etc)
Category:
Document » (no category)
Size:
1071.64 kb
Extension:
pdf
Rating:
0
Views:
1361
Downloads:
147
Uploaded:
10/11/07 21:58
Tags:
(no tags)
Embed:
Link:
Forum:
digg
stumble
reddit
delicio
furl
facebook
Comments
:
0
No comments yet..
Add comment:
(
Sing Up or Log In
)
Samuel Richardson's Introduction to Pamela by Samuel Richardson
Download the free eBook: Samuel Richardson's Introduction to Pame...
pdf document
From:
GutenbergP...
How To Drive A Stick Shift Car : Introduction to Manual Transmissions
Learn the basics of driving a car with a manual transmission in this f...
flv video
From:
IronMan
Fitting a Bicycle to You : Fitting a Road Bike's Saddle to You
Once you've chosen the proper frame size for your road bike, adju...
flv video
From:
IronMan
Forming a Successful Work Group : Introduction to Working in a Group
Working in a group is not always popular with those in the group. Get ...
flv video
From:
IronMan
Chorin & Marsden - A Mathematical Introduction to Fluid Mechanics.
Chorin & Marsden - A Mathematical Introduction to Fluid Mechanics....
zip archive
From:
irvas
Introduction to Computers and Programming(C++)13
Introduction to Computers and Programming(C++)13. java c++ icas intro...
pdf document
From:
koled
It's Beginning To Look A Lot Like Christmas
It's Beginning To Look A Lot Like Christmas.
flv video
From:
AbsZero
cookie's view to 2008 part 2
www.myspace.com/cookie_yeye , www.rainbow-runner.blogspot.com cookie&...
mp3 audio
From:
cookie
Sonia the Hedgehog Let's go to the mall
This is my first official AMV this was SOOOOOOO fun to make. I love th...
flv video
From:
DejanG
Jenny's reaction to the Maze game
Jenny's reaction to the Maze game http://www.winterrowd.com/m... ...
flv video
From:
emilex
El Cant del Barça en portugués
No se pierda el himno del Barça en portugués.
flv video
From:
FCBarcelon...
Griffiths - Introduction to Elementary Particles.djvu
Griffiths - Introduction to Elementary Particles.djvu
zip archive
From:
irvas
AC-DC - What`s Next to the moon Lyrics
AC-DC - What`s Next to the moon Lyrics
rtf document
From:
Ninjai
Introduction to MEMS.
“A (not so) short Introduction to Micro Electromechanical Systems”...
pdf document
From:
koled
New Year's Party Planning : How to Plan a New Year's Eve Wed
Planning a New Year's Eve wedding requires sending out save-the-d...
flv video
From:
IronMan
U.S. Immigration Law : U.S. Right to Hold a Non-Citizen Indefinitely
The writ of habeas corpus protects non-citizens from unlawful detainme...
flv video
From:
IronMan
U.S. Immigration Law : How to Become a Legal U.S. Resident
In order to become a legal U.S. resident, a person should visit uscis....
flv video
From:
IronMan
A Student's Guide to Psychology
A Student's Guide to Psychology.
pdf document
From:
Lenjivica
Hilda Hutcherson: A Woman's Guide to Better Sex (trailer)
Buy this DVD at: http://www.betterlifemedia.com/shop.d... Do you ever...
flv video
From:
AbsZero
Hilda Hutcherson: A Woman's Guide to Better Sex
Buy this DVD at: http://www.betterlifemedia.com/shop.d... Do you ever...
flv video
From:
AbsZero
show more
© 2009 Fliiby LLC
About
|
Account
|
TOP
|
Latest
|
Blog
|
Shop
|
T.O.S
|
Help
|
Contact Us