Chapter 08

Working with Common .NET Types

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

This chapter covers the following topics:

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

Working with numbers

One of the most common types of data are numbers. The most common types in .NET Standard for working with numbers are ...

Get C# 8.0 and .NET Core 3.0 - Modern Cross-Platform Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.