08

Working with Common .NET Types

This chapter is about some common types that are included with .NET. These include types for manipulating numbers, text, collections, network access, reflection, and attributes; improving working with spans, indexes, and ranges; manipulating images; and internationalization.

This chapter covers the following topics:

  • Working with numbers
  • Working with text
  • Working with dates and times
  • Pattern matching with regular expressions
  • Storing multiple objects in collections
  • Working with spans, indexes, and ranges
  • Working with network resources
  • Working with reflection and attributes
  • Working with images
  • Internationalizing your code

Working with numbers

One of the most common types of data is numbers. The most common types ...

Get C# 10 and .NET 6 – Modern Cross-Platform Development - Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.