Catégories Corporatif
Livre de texte gratuit

C# 4: Important Classes and More

Software Development

168
Langue:  English
This book is about OOP in C# and is a continuation of the previous book, and the current book assumes a knowledge of OOP corresponding to the content of C# 3.
Téléchargez des manuels d’apprentissage au format PDF ou lisez-les en ligne. Moins de 15% de publicités dans les livres
Abonnement pro gratuit les 30 premiers jours, puis $5.99/mois
Description
Contenu

This book is about OOP in C# and is a continuation of the previous book, and the current book assumes a knowledge of OOP corresponding to the content of C# 3. The book deals with the implementation of strings in C# and else describes generic types and in relation to that, collection classes, but also concepts as delegates, lambda expressions and operator overriding.Click here to download the source files from this book.

  • Foreword
  1. Introduction
  2. Strings
    1. StringBuilder
    2. Exercise 1: String operations
    3. Regular expressions
    4. Patterns for regular expressions
    5. Exercise 2: Some regular expressions
  3. Date and time
    1. Problem 1: Date methods
  4. Generic types
    1. Generic methods
    2. Exercise 3: Search
    3. Parameterized types
    4. The class Set
    5. Problem 2: A buffer
  5. Collection classes
    1. List<T>
    2. Exercise 4: A list
    3. LinkedList<T>
    4. Exercise 5: A LinkedList
    5. Queue<T>
    6. Exercise 6: A Queue
    7. Stack<T>
    8. Exercise 7: A Stack
    9. HashSet<T>
    10. SortedSet<T>
    11. Problem 3: A zip code table
    12. Dictionary<K,T>
    13. SortedDictionary<K, T>
    14. SortedList<K, T>
    15. Exercise 7: An index
  6. Delegates
    1. Simple delegates
    2. Enter a number
    3. Multicast delegate
    4. More on delegates
    5. Generic delegates
    6. Exercise 8: Enter an object
    7. Asynchronous delegate
    8. Callback
    9. The observer pattern
    10. Exercise 9: Temperature
    11. Events
    12. Problem 4: Tic Tac Toe
  7. Lambda expressions
  8. Operator overriding
    1. The class Counter
    2. Exercise 10: A Point type
    3. Exercise 11: A Time type
    4. The indexer
  9. User defined type converting
  10. Final example: A converter
    1. Analysis
    2. The prototype
    3. Design
    4. Programming
    5. Conversion rules maintenance
    6. The last thing
A propos de l'auteur

Poul Klausen