C# 5: Assemblies, Class Libraries and IO

Software Development

Avaliações:
( 0 )
196 pages
Idioma:
 en
The book describes the use of binary operations in C#, and another topic is assemblies and including class libraries.
Este é um e-book grátis para estudantes
Todos os livros de estudantes são grátis para sempre. Menos de 15% de anúncios
 
Subscrição para empresas grátis nos primeiros 30 dias, após o período $5.99/mês
Última adição
Sobre o autor

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

Descrição
Conteúdos

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