C# 5: Assemblies, Class Libraries and IO

Software Development

Omdömen:
( 0 )
196 pages
Språk:
 en
The book describes the use of binary operations in C#, and another topic is assemblies and including class libraries.
Det här är en gratis eBok för studerande
Läs online eller ladda ner gratis läroböcker som pdf. Mindre än 15 % reklam.
 
Business-prenumeration gratis de första 30 dagarna, sedan $5.99/månad
Våra senaste eBöcker
Om författaren

Poul Klausen er uddannet cand. scient. i matematik fra Aarhus Universitet med speciale i algebraisk topologi. Efter universitetet og et efterfølgende pædagogikum har Poul Klausen primært arbejdet som underviser og det især inden for it uddannelser og gennem de sidste mange år som underviser på d

The book describes the use of binary operations in C#, and another topic is assemblies and including class libraries. Both private and shared assemblies are treated. The book provides an introduction to reflection and how, at runtime, to retrieve information about types and there members. There is a chapter on IO, and finally, the book ends with an appendix on binary and hexadecimal numbers.

Click here to download the source files from this book.

  • Foreword
  1. Introduction
  2. Binary operators
    1. A Bitmap
    2. Exercise 1: Bit operations
    3. Problem 1: Eratosthenes
    4. Exercise 2: Encoding text
    5. Exercise 3: Floating points
  3. Assemblies
    1. Namespaces
    2. Class libraries
    3. Exercise 4: Eratosthenes again
    4. The structure of an assembly
    5. Ildasm
    6. Platform independence
    7. Private assembly
    8. Shared assemblies
    9. A strong name
    10. Install a shared assembly
    11. Exercise 5: Eratosthenes a last time
    12. App.Config
    13. Problem 2: A Calendar
  4. Reflection
    1. A simple dll
    2. Late binding
    3. Attributes
    4. Using reflection
    5. Exercise 6: The Sequences program
  5. IO
    1. Exercise 7: A CSV file
    2. Binary files
    3. Info about directories and files
    4. Serialization
    5. User defined serialization
    6. Problem 3: Denmark
    7. A file for objects
    8. Exercise 7: Test ObjectFile
  6. Final example: The FileBrowser
    1. The model
    2. The user interface
  • Appendix A: Binary numbers
    • The binary number system
    • The hexadecimal system
    • The integers
    • Complement arithmetic
    • Binary operations
    • Encoding of characters
    • Representation of decimal numbers