Everyone is writing about how great the new type Span
is so I eagerly wanted to start rewriting a couple of methods in my libraries but where do I actu
You need to install prerelease version (check "Include prerelease" checkbox in nuget manager) of System.Memory
package. Then just use Span
(it's in System
namespace).
Visual Studio 2019: If you are using the full .NET Framework (e.g. 4.7.2):
Now you will be able to use Span<T>
.
No need to search for pre-release versions anymore.