Getting ready 

As mentioned, primitive data types are defined under .NET Framework itself and it's not language specific. It means you can use these data types across all languages supported under .NET Framework. It doesn't mean you can use these primitives under different flavors of .NET Framework. For example, if a data type is defined under .NET Framework version 4.6.1, and it's not defined under .NET Core 2.0, your code will fail under .NET Core 2.0. 

Also, make sure you have the latest version of Visual Studio, which is 2017 at the time of writing.

Get .NET Standard 2.0 Cookbook 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.