Categories Corporate
Free Textbook

C# 5: Assemblies, Class Libraries and IO

Software Development

196
Language:  English
The book describes the use of binary operations in C#, and another topic is assemblies and including class libraries.
Download free PDF textbooks or read online. Less than 15% adverts
Yritystilaus ilmainen ensimmäisen 30 päivän ajan, ja sen jälkeen $5.99/kk.
Description
Content

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
About the Author

Poul Klausen